File tree Expand file tree Collapse file tree 11 files changed +33
-26
lines changed
Expand file tree Collapse file tree 11 files changed +33
-26
lines changed Original file line number Diff line number Diff line change 1- C# Script execution engine (.NET Core). Version 4.8.3 .0.
1+ C# Script execution engine (.NET Core). Version 4.8.4 .0.
22Copyright (C) 2004-2020 Oleg Shilo.
33
44
Original file line number Diff line number Diff line change 44 "framework" : {
55 "name" : " Microsoft.NETCore.App" ,
66 "version" : " 7.0.0"
7+ },
8+ "configProperties" : {
9+ "System.Reflection.Metadata.MetadataUpdater.IsSupported" : false
710 }
811 }
912}
Original file line number Diff line number Diff line change 1414 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
1515 <SymbolPackageFormat >snupkg</SymbolPackageFormat >
1616 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
17- <Version >4.8.3 .0</Version >
17+ <Version >4.8.4 .0</Version >
1818 <Authors >Oleg Shilo</Authors >
1919 <Description >CS-Script engine Class Library for .NET 5 (and higher)</Description >
20- <Copyright >(C) 2018-2022 Oleg Shilo</Copyright >
20+ <Copyright >(C) 2018-2023 Oleg Shilo</Copyright >
2121 <PackageLicenseUrl ></PackageLicenseUrl >
2222 <PackageProjectUrl >https://github.com/oleg-shilo/cs-script</PackageProjectUrl >
2323 <PackageIconUrl ></PackageIconUrl >
3030
3131### CLI
3232
33- - Issue #336 (further optimization)
33+ - no changes
3434
3535### CSScriptLib
3636
3737- Issue #343: Publish to single file gives an empty Assembly.Location which crashes Roslyn Evaluator
38- - Added support for single-file published host applications </PackageReleaseNotes >
38+ Added support for single-file publishing with runtime dependency </PackageReleaseNotes >
3939 <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
40- <AssemblyVersion >4.8.3 .0</AssemblyVersion >
41- <FileVersion >4.8.3 .0</FileVersion >
40+ <AssemblyVersion >4.8.4 .0</AssemblyVersion >
41+ <FileVersion >4.8.4 .0</FileVersion >
4242 <PackageLicenseExpression >MIT</PackageLicenseExpression >
4343 <PackageIcon >css_logo.png</PackageIcon >
4444 </PropertyGroup >
Original file line number Diff line number Diff line change 33using CSScriptLib ;
44using Microsoft . CodeAnalysis ;
55
6+ // publishing as a single-file with and without runtime dependency
7+ // dotnet publish --configuration Release --output .\publish --self-contained false
68// dotnet publish --configuration Release --output .\publish --self-contained true
79
810// ---------------------------
Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ public static string Location(this Assembly asm)
190190 else
191191 return asm . Location ;
192192 }
193+ #pragma warning disable CS0168
193194 catch ( Exception ex )
194195 {
195196#if class_lib
@@ -200,6 +201,7 @@ public static string Location(this Assembly asm)
200201 return null ;
201202#endif
202203 throw ;
204+ #pragma warning restore CS0168
203205 }
204206 }
205207
Original file line number Diff line number Diff line change 66 <AssemblyName >cscs</AssemblyName >
77 <RootNamespace >CSScripting</RootNamespace >
88 <StartupObject />
9- <Version >4.8.3 .0</Version >
9+ <Version >4.8.4 .0</Version >
1010 <Authors >Oleg Shilo</Authors >
1111 <Product >CS-Script</Product >
1212 <Copyright >(C) 2004-2023 Oleg Shilo</Copyright >
1717 <RepositoryUrl >https://github.com/oleg-shilo/cs-script</RepositoryUrl >
1818 <RepositoryType >git</RepositoryType >
1919 <PackageTags >C# script dynamic</PackageTags >
20- <AssemblyVersion >4.8.3 .0</AssemblyVersion >
21- <FileVersion >4.8.3 .0</FileVersion >
20+ <AssemblyVersion >4.8.4 .0</AssemblyVersion >
21+ <FileVersion >4.8.4 .0</FileVersion >
2222 <PackageReleaseNotes >---
2323
2424## Changes
2525
2626### CLI
2727
28- - Issue #336 (further optimization)
28+ - no changes
2929
3030### CSScriptLib
3131
3232- Issue #343: Publish to single file gives an empty Assembly.Location which crashes Roslyn Evaluator
33- - Added support for single-file published host applications </PackageReleaseNotes >
33+ Added support for single-file publishing with runtime dependency </PackageReleaseNotes >
3434 <PackageLicenseExpression >MIT</PackageLicenseExpression >
3535 <PackageIcon >css_logo.png</PackageIcon >
3636 <ApplicationIcon >css_logo.ico</ApplicationIcon >
Original file line number Diff line number Diff line change 3131// You can specify all the values or you can default the Build and Revision Numbers
3232// by using the '*' as shown below:
3333// [assembly: AssemblyVersion("1.0.*")]
34- [ assembly: AssemblyVersion ( "4.8.3 .0" ) ]
35- [ assembly: AssemblyFileVersion ( "4.8.3 .0" ) ]
34+ [ assembly: AssemblyVersion ( "4.8.4 .0" ) ]
35+ [ assembly: AssemblyFileVersion ( "4.8.4 .0" ) ]
Original file line number Diff line number Diff line change 77 <AssemblyName >csws</AssemblyName >
88 <RootNamespace >CSScripting</RootNamespace >
99 <StartupObject />
10- <Version >4.8.3 .0</Version >
10+ <Version >4.8.4 .0</Version >
1111 <Authors >Oleg Shilo</Authors >
1212 <Product >CS-Script</Product >
1313 <Copyright >(C) 2004-2022 Oleg Shilo</Copyright >
1818 <RepositoryUrl >https://github.com/oleg-shilo/cs-script</RepositoryUrl >
1919 <RepositoryType >git</RepositoryType >
2020 <PackageTags >C# script dynamic</PackageTags >
21- <AssemblyVersion >4.8.3 .0</AssemblyVersion >
22- <FileVersion >4.8.3 .0</FileVersion >
21+ <AssemblyVersion >4.8.4 .0</AssemblyVersion >
22+ <FileVersion >4.8.4 .0</FileVersion >
2323 <PackageReleaseNotes >---
2424
2525## Changes
2626
2727### CLI
2828
29- - Issue #336 (further optimization)
29+ - no changes
3030
3131### CSScriptLib
3232
3333- Issue #343: Publish to single file gives an empty Assembly.Location which crashes Roslyn Evaluator
34- - Added support for single-file published host applications </PackageReleaseNotes >
34+ Added support for single-file publishing with runtime dependency </PackageReleaseNotes >
3535 <PackageLicenseExpression >MIT</PackageLicenseExpression >
3636 <ApplicationIcon >css_logo.ico</ApplicationIcon >
3737 <PackageIcon >..\logo\css_logo.png</PackageIcon >
Original file line number Diff line number Diff line change 66 "compilationOptions" : {},
77 "targets" : {
88 ".NETCoreApp,Version=v7.0" : {
9- "cscs/4.8.3 .0" : {
9+ "cscs/4.8.4 .0" : {
1010 "dependencies" : {
1111 "Microsoft.CodeAnalysis.CSharp.Scripting" : " 3.10.0"
1212 },
468468 }
469469 },
470470 "libraries" : {
471- "cscs/4.8.3 .0" : {
471+ "cscs/4.8.4 .0" : {
472472 "type" : " project" ,
473473 "serviceable" : false ,
474474 "sha512" : " "
Original file line number Diff line number Diff line change 66 "compilationOptions" : {},
77 "targets" : {
88 ".NETCoreApp,Version=v7.0" : {
9- "csws/4.8.3 .0" : {
9+ "csws/4.8.4 .0" : {
1010 "dependencies" : {
1111 "Microsoft.CodeAnalysis.CSharp.Scripting" : " 3.10.0"
1212 },
468468 }
469469 },
470470 "libraries" : {
471- "csws/4.8.3 .0" : {
471+ "csws/4.8.4 .0" : {
472472 "type" : " project" ,
473473 "serviceable" : false ,
474474 "sha512" : " "
You can’t perform that action at this time.
0 commit comments