File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ AbsolutePath[] Projects
71
71
}
72
72
}
73
73
74
+ string Framework => Solution . GetProject ( DemoTargetLibName ) . GetProperty ( "TargetFramework" ) ;
75
+
74
76
protected override void OnBuildInitialized ( )
75
77
{
76
78
var parser = new ReleaseNotesParser ( ) ;
@@ -184,7 +186,7 @@ protected override void OnBuildInitialized()
184
186
var cli = SourceDirectory / CliTargetLibName / $ "{ CliTargetLibName } .csproj";
185
187
var args = "build /target custom win7-x86;win /dotnet-configuration Debug /electron-arch ia32 /electron-params \" --publish never\" " ;
186
188
187
- DotNet ( $ "run --project { cli } -- { args } ", sample ) ;
189
+ DotNet ( $ "run --project { cli } --framework { Framework } -- { args } ", sample ) ;
188
190
} ) ;
189
191
190
192
Target ElectronizeWindowsTargetSample => _ => _
@@ -195,7 +197,7 @@ protected override void OnBuildInitialized()
195
197
var cli = SourceDirectory / CliTargetLibName / $ "{ CliTargetLibName } .csproj";
196
198
var args = "build /target win /electron-params \" --publish never\" " ;
197
199
198
- DotNet ( $ "run --project { cli } -- { args } ", sample ) ;
200
+ DotNet ( $ "run --project { cli } --framework { Framework } -- { args } ", sample ) ;
199
201
} ) ;
200
202
201
203
Target ElectronizeCustomWin7TargetSample => _ => _
You can’t perform that action at this time.
0 commit comments