File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 <Configuration >Release</Configuration >
1515 <Solution >$(MSBuildProjectDirectory)/src/1Script.sln</Solution >
1616
17+ <ActiveFramework >net8.0</ActiveFramework >
18+
1719 </PropertyGroup >
1820
1921 <ItemGroup >
3032 <ItemGroup >
3133 <PublishProjects Include =" oscript" >
3234 <ProjectFile >oscript.csproj</ProjectFile >
33- <Framework >net8.0 </Framework >
35+ <Framework >$(ActiveFramework) </Framework >
3436 </PublishProjects >
3537 <PublishProjects Include =" TestApp" >
3638 <ProjectFile >TestApp.csproj</ProjectFile >
37- <Framework >net8.0 -windows</Framework >
39+ <Framework >$(ActiveFramework) -windows</Framework >
3840 </PublishProjects >
3941 </ItemGroup >
4042
106108 </ItemGroup >
107109
108110 <Exec Command =" dotnet publish " src/oscript/oscript.csproj" -r %(RuntimeID.Identity) --self-contained -c $(Configuration) -o " $(ArtifactsRoot)/%(RuntimeID.Identity)/bin" " UseUtf8Encoding =" Always" />
109- <Exec Command =" dotnet publish " src/TestApp/TestApp.csproj" -f net6.0 -windows -c $(Configuration) -p:Platform=%(PlatformItem.MSBuildName) -p:UseAppHost=true -o " $(ArtifactsRoot)/win-%(PlatformItem.Identity)/bin" " UseUtf8Encoding =" Always" />
111+ <Exec Command =" dotnet publish " src/TestApp/TestApp.csproj" -f $(ActiveFramework) -windows -c $(Configuration) -p:Platform=%(PlatformItem.MSBuildName) -p:UseAppHost=true -o " $(ArtifactsRoot)/win-%(PlatformItem.Identity)/bin" " UseUtf8Encoding =" Always" />
110112
111113 <PropertyGroup >
112114 <CppBinPrefix >$(MSBuildProjectDirectory)/src/ScriptEngine.NativeApi/bin/$(Configuration)</CppBinPrefix >
You can’t perform that action at this time.
0 commit comments