File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ var nugetRoot = buildResultDir + Directory("nuget");
31
31
// Initialization
32
32
// ----------------------------------------
33
33
34
- Setup ( ( ) =>
34
+ Setup ( _ =>
35
35
{
36
36
Information ( "Building version {0} of AngleSharp.Io." , version ) ;
37
37
Information ( "For the publish target the following environment variables need to be set:" ) ;
@@ -90,13 +90,14 @@ Task("Copy-Files")
90
90
. IsDependentOn ( "Build" )
91
91
. Does ( ( ) =>
92
92
{
93
- var target = nugetRoot + Directory ( "lib" ) + Directory ( "net46" ) ;
93
+ var framework = "netstandard2.0" ;
94
+ var target = nugetRoot + Directory ( "lib" ) + Directory ( framework ) ;
94
95
95
96
CreateDirectory ( target ) ;
96
97
CopyFiles ( new FilePath [ ]
97
98
{
98
- buildDir + File ( "AngleSharp.Io.dll" ) ,
99
- buildDir + File ( "AngleSharp.Io.xml" )
99
+ buildDir + Directory ( framework ) + File ( "AngleSharp.Io.dll" ) ,
100
+ buildDir + Directory ( framework ) + File ( "AngleSharp.Io.xml" )
100
101
} , target ) ;
101
102
102
103
CopyFiles ( new FilePath [ ] { "src/AngleSharp.Io.nuspec" } , nugetRoot ) ;
You can’t perform that action at this time.
0 commit comments