File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ public virtual ScriptOptions CreateScriptOptions(ScriptContext context)
40
40
var opts = ScriptOptions . Default .
41
41
AddImports ( DefaultNamespaces ) .
42
42
AddReferences ( DefaultAssemblies ) .
43
- WithSourceResolver ( new RemoteFileResolver ( context . WorkingDirectory ) ) ;
43
+ WithSourceResolver ( new RemoteFileResolver ( context . WorkingDirectory ) ) .
44
+ WithMetadataResolver ( ScriptMetadataResolver . Default ) ;
44
45
45
46
if ( ! string . IsNullOrWhiteSpace ( context . FilePath ) )
46
47
{
Original file line number Diff line number Diff line change 19
19
"dependencies" : {
20
20
"NETStandard.Library" : " 1.6.0" ,
21
21
"Microsoft.DotNet.ProjectModel" : " 1.0.0-rc3-003121" ,
22
- "Microsoft.CodeAnalysis.CSharp.Scripting" : " 2.0.0-rc2"
22
+ "Microsoft.CodeAnalysis.CSharp.Scripting" : " 2.0.0-rc2" ,
23
+ "System.ValueTuple" : " 4.3.0"
23
24
},
24
25
25
26
"frameworks" : {
You can’t perform that action at this time.
0 commit comments