3131
3232void NetCoreApp31 ( )
3333{
34- var content = GetGeneratedContent ( "NetCoreApp31" , [ @"microsoft.netcore.app.ref\ 3.1.0\ ref\ netcoreapp3.1" ] ) ;
34+ var content = GetGeneratedContent ( "NetCoreApp31" , [ @"microsoft.netcore.app.ref/ 3.1.0/ ref/ netcoreapp3.1" ] ) ;
3535 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.NetCoreApp31" ) ;
3636 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
3737 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
3838}
3939
4040void Net50 ( )
4141{
42- var content = GetGeneratedContent ( "Net50" , [ @"microsoft.netcore.app.ref\ 5.0.0\ ref\ net5.0" ] ) ;
42+ var content = GetGeneratedContent ( "Net50" , [ @"microsoft.netcore.app.ref/ 5.0.0/ ref/ net5.0" ] ) ;
4343 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net50" ) ;
4444 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
4545 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
4646}
4747
4848void Net60 ( )
4949{
50- var content = GetGeneratedContent ( "Net60" , [ @"microsoft.netcore.app.ref\ 6.0.27\ ref\ net6.0" ] ) ;
50+ var content = GetGeneratedContent ( "Net60" , [ @"microsoft.netcore.app.ref/ 6.0.27/ ref/ net6.0" ] ) ;
5151 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net60" ) ;
5252 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
5353 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
5454}
5555
5656void Net60Windows ( )
5757{
58- var content = GetGeneratedContent ( "Net60Windows" , [ @"microsoft.windowsdesktop.app.ref\ 6.0.27\ ref\ net6.0" ] ) ;
58+ var content = GetGeneratedContent ( "Net60Windows" , [ @"microsoft.windowsdesktop.app.ref/ 6.0.27/ ref/ net6.0" ] ) ;
5959 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net60Windows" ) ;
6060 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
6161 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
6262}
6363
6464void Net70 ( )
6565{
66- var content = GetGeneratedContent ( "Net70" , [ @"microsoft.netcore.app.ref\ 7.0.16\ ref\ net7.0" ] ) ;
66+ var content = GetGeneratedContent ( "Net70" , [ @"microsoft.netcore.app.ref/ 7.0.16/ ref/ net7.0" ] ) ;
6767 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net70" ) ;
6868 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
6969 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
7070}
7171
7272void Net80 ( )
7373{
74- var content = GetGeneratedContent ( "Net80" , [ @"microsoft.netcore.app.ref\ 8.0.3\ ref\ net8.0" ] ) ;
74+ var content = GetGeneratedContent ( "Net80" , [ @"microsoft.netcore.app.ref/ 8.0.3/ ref/ net8.0" ] ) ;
7575 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net80" ) ;
7676 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
7777 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
@@ -82,15 +82,15 @@ void Net80()
8282
8383void Net80Windows ( )
8484{
85- var content = GetGeneratedContent ( "Net80Windows" , [ @"microsoft.windowsdesktop.app.ref\ 8.0.8\ ref\ net8.0" ] ) ;
85+ var content = GetGeneratedContent ( "Net80Windows" , [ @"microsoft.windowsdesktop.app.ref/ 8.0.8/ ref/ net8.0" ] ) ;
8686 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net80Windows" ) ;
8787 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
8888 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
8989}
9090
9191void Net90 ( )
9292{
93- var content = GetGeneratedContent ( "Net90" , [ @"microsoft.netcore.app.ref\ 9.0.0\ ref\ net9.0" ] ) ;
93+ var content = GetGeneratedContent ( "Net90" , [ @"microsoft.netcore.app.ref/ 9.0.0/ ref/ net9.0" ] ) ;
9494 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net90" ) ;
9595 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
9696 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
@@ -99,23 +99,23 @@ void Net90()
9999
100100void Net100 ( )
101101{
102- var content = GetGeneratedContent ( "Net100" , [ @"microsoft.netcore.app.ref\ 10.0.0-preview.4.25258.110\ ref\ net10.0" ] ) ;
102+ var content = GetGeneratedContent ( "Net100" , [ @"microsoft.netcore.app.ref/ 10.0.0-preview.4.25258.110/ ref/ net10.0" ] ) ;
103103 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net100" ) ;
104104 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
105105 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
106106}
107107
108108void AspNet80 ( )
109109{
110- var content = GetGeneratedContent ( "AspNet80" , [ @"microsoft.netcore.app.ref\ 8.0.3\ ref\ net8.0" , @"microsoft.aspnetcore.app.ref\ 8.0.3\ ref\ net8.0" ] ) ;
110+ var content = GetGeneratedContent ( "AspNet80" , [ @"microsoft.netcore.app.ref/ 8.0.3/ ref/ net8.0" , @"microsoft.aspnetcore.app.ref/ 8.0.3/ ref/ net8.0" ] ) ;
111111 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.AspNet80" ) ;
112112 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
113113 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
114114}
115115
116116void AspNet90 ( )
117117{
118- var content = GetGeneratedContent ( "AspNet90" , [ @"microsoft.netcore.app.ref\ 9.0.0\ ref\ net9.0" , @"microsoft.aspnetcore.app.ref\ 9.0.0\ ref\ net9.0" ] ) ;
118+ var content = GetGeneratedContent ( "AspNet90" , [ @"microsoft.netcore.app.ref/ 9.0.0/ ref/ net9.0" , @"microsoft.aspnetcore.app.ref/ 9.0.0/ ref/ net9.0" ] ) ;
119119 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.AspNet90" ) ;
120120 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
121121 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
@@ -124,7 +124,7 @@ void AspNet90()
124124
125125void AspNet100 ( )
126126{
127- var content = GetGeneratedContent ( "AspNet100" , [ @"microsoft.netcore.app.ref\ 10.0.0-preview.4.25258.110\ ref\ net10.0" , @"microsoft.aspnetcore.app.ref\ 10.0.0-preview.4.25258.110\ ref\ net10.0" ] ) ;
127+ var content = GetGeneratedContent ( "AspNet100" , [ @"microsoft.netcore.app.ref/ 10.0.0-preview.4.25258.110/ ref/ net10.0" , @"microsoft.aspnetcore.app.ref/ 10.0.0-preview.4.25258.110/ ref/ net10.0" ] ) ;
128128 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.AspNet100" ) ;
129129 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
130130 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
@@ -145,11 +145,11 @@ void NetStandard20()
145145{
146146 var content = GetGeneratedContent (
147147 "NetStandard20" ,
148- [ @"netstandard.library\ 2.0.3\ build\ netstandard2.0\ ref" ] ,
148+ [ @"netstandard.library/ 2.0.3/ build/ netstandard2.0/ ref" ] ,
149149 [
150- @"microsoft.csharp\ 4.7.0\ ref\ netstandard2.0" ,
151- @"microsoft.visualbasic\ 10.3.0\ ref\ netstandard2.0" ,
152- @"system.threading.tasks.extensions\ 4.5.4\ lib\ netstandard2.0" ] ) ;
150+ @"microsoft.csharp/ 4.7.0/ ref/ netstandard2.0" ,
151+ @"microsoft.visualbasic/ 10.3.0/ ref/ netstandard2.0" ,
152+ @"system.threading.tasks.extensions/ 4.5.4/ lib/ netstandard2.0" ] ) ;
153153 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.NetStandard20" ) ;
154154 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
155155 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
@@ -159,23 +159,23 @@ void NetStandard20()
159159
160160void Net20 ( )
161161{
162- var content = GetGeneratedContent ( "Net20" , [ @"microsoft.netframework.referenceassemblies.net20\ 1.0.3\ build\ .NETFramework\ v2.0" ] ) ;
162+ var content = GetGeneratedContent ( "Net20" , [ @"microsoft.netframework.referenceassemblies.net20/ 1.0.3/ build/ .NETFramework/ v2.0" ] ) ;
163163 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net20" ) ;
164164 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
165165 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
166166}
167167
168168void Net40 ( )
169169{
170- var content = GetGeneratedContent ( "Net40" , [ @"microsoft.netframework.referenceassemblies.net40\ 1.0.3\ build\ .NETFramework\ v4.0" ] ) ;
170+ var content = GetGeneratedContent ( "Net40" , [ @"microsoft.netframework.referenceassemblies.net40/ 1.0.3/ build/ .NETFramework/ v4.0" ] ) ;
171171 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net40" ) ;
172172 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
173173 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
174174}
175175
176176void Net35 ( )
177177{
178- var content = GetGeneratedContent ( "Net35" , [ @"microsoft.netframework.referenceassemblies.net35\ 1.0.3\ build\ .NETFramework\ v3.5" ] ) ;
178+ var content = GetGeneratedContent ( "Net35" , [ @"microsoft.netframework.referenceassemblies.net35/ 1.0.3/ build/ .NETFramework/ v3.5" ] ) ;
179179 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net35" ) ;
180180 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
181181 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
@@ -185,10 +185,10 @@ void Net461()
185185{
186186 var content = GetGeneratedContent (
187187 "Net461" ,
188- [ @"microsoft.netframework.referenceassemblies.net461\ 1.0.3\ build\ .NETFramework\ v4.6.1" ] ,
188+ [ @"microsoft.netframework.referenceassemblies.net461/ 1.0.3/ build/ .NETFramework/ v4.6.1" ] ,
189189 [
190- @"system.threading.tasks.extensions\ 4.5.4\ lib\ net461" ,
191- @"system.valuetuple\ 4.5.0\ lib\ net461"
190+ @"system.threading.tasks.extensions/ 4.5.4/ lib/ net461" ,
191+ @"system.valuetuple/ 4.5.0/ lib/ net461"
192192 ] ) ;
193193 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net461" ) ;
194194 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
@@ -197,7 +197,7 @@ void Net461()
197197
198198void Net472 ( )
199199{
200- var content = GetGeneratedContent ( "Net472" , [ @"microsoft.netframework.referenceassemblies.net472\ 1.0.3\ build\ .NETFramework\ v4.7.2" ] ) ;
200+ var content = GetGeneratedContent ( "Net472" , [ @"microsoft.netframework.referenceassemblies.net472/ 1.0.3/ build/ .NETFramework/ v4.7.2" ] ) ;
201201 var targetDir = Path . Combine ( srcPath , "Basic.Reference.Assemblies.Net472" ) ;
202202 File . WriteAllText ( Path . Combine ( targetDir , "Generated.cs" ) , content . CodeContent , encoding ) ;
203203 File . WriteAllText ( Path . Combine ( targetDir , "Generated.targets" ) , content . TargetsContent , encoding ) ;
0 commit comments