11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project Sdk =" Microsoft.NET.Sdk" >
3- <PropertyGroup >
4- <TargetFramework >netstandard2.0</TargetFramework >
5- <AssemblyName >CSScriptLib</AssemblyName >
6- <LangVersion >latest</LangVersion >
7- <PackageId >CS-Script</PackageId >
8- <!-- <NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>-->
9- <!-- <PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback>-->
10- <GenerateAssemblyConfigurationAttribute >false</GenerateAssemblyConfigurationAttribute >
11- <GenerateAssemblyCompanyAttribute >false</GenerateAssemblyCompanyAttribute >
12- <GenerateAssemblyProductAttribute >false</GenerateAssemblyProductAttribute >
13- <PublishRepositoryUrl >true</PublishRepositoryUrl >
14- <IncludeSymbols >true</IncludeSymbols >
15- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
16- <SymbolPackageFormat >snupkg</SymbolPackageFormat >
17- <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
18- <Version >4.11.1.0</Version >
19- <Authors >Oleg Shilo</Authors >
20- <Description >CS-Script engine Class Library for .NET 5 (and higher)</Description >
21- <Copyright >(C) 2018-2023 Oleg Shilo</Copyright >
22- <PackageLicenseUrl ></PackageLicenseUrl >
23- <PackageProjectUrl >https://github.com/oleg-shilo/cs-script</PackageProjectUrl >
24- <PackageIconUrl ></PackageIconUrl >
25- <RepositoryUrl >https://github.com/oleg-shilo/cs-script.git</RepositoryUrl >
26- <RepositoryType >Git</RepositoryType >
27- <PackageTags >C#, scripting, script, dynamic, .NET. .NET Core</PackageTags >
28- <PackageReleaseNotes >
29- ---
3+ <PropertyGroup >
4+ <TargetFramework >netstandard2.0</TargetFramework >
5+ <AssemblyName >CSScriptLib</AssemblyName >
6+ <LangVersion >latest</LangVersion >
7+ <PackageId >CS-Script</PackageId >
8+ <!-- <NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>-->
9+ <!-- <PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback>-->
10+ <GenerateAssemblyConfigurationAttribute >false</GenerateAssemblyConfigurationAttribute >
11+ <GenerateAssemblyCompanyAttribute >false</GenerateAssemblyCompanyAttribute >
12+ <GenerateAssemblyProductAttribute >false</GenerateAssemblyProductAttribute >
13+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
14+ <IncludeSymbols >true</IncludeSymbols >
15+ <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
16+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
17+ <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
18+ <Version >4.11.2.0</Version >
19+ <Authors >Oleg Shilo</Authors >
20+ <Description >CS-Script engine Class Library for .NET 5 (and higher)</Description >
21+ <Copyright >(C) 2018-2023 Oleg Shilo</Copyright >
22+ <PackageLicenseUrl ></PackageLicenseUrl >
23+ <PackageProjectUrl >https://github.com/oleg-shilo/cs-script</PackageProjectUrl >
24+ <PackageIconUrl ></PackageIconUrl >
25+ <RepositoryUrl >https://github.com/oleg-shilo/cs-script.git</RepositoryUrl >
26+ <RepositoryType >Git</RepositoryType >
27+ <PackageTags >C#, scripting, script, dynamic, .NET. .NET Core</PackageTags >
28+ <PackageReleaseNotes >---
3029
31- ## Changes
30+ ## Changes
3231
33- ### CLI
34- - Added `-self-rt` custom command for setting the script engine runtime version
32+ ### CLI
33+ - Updating current directory via -l switch is disabled for all custom command scripts.
34+ - Added public extension methods
35+ - Reset dotnet-engine project template on the change of the target framework (set via `-self-rt`)
36+ - Added a small automation library `shell.cs` to the distribution
37+ - added `-scrumble` custom command
38+ - added `shell.cs` lib-script
3539
36- ### CSScriptLib
37- - no changes
38- </PackageReleaseNotes >
39- <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
40- <AssemblyVersion >4.11.1.0</AssemblyVersion >
41- <FileVersion >4.11.1.0</FileVersion >
42- <PackageVersion >4.11.1.0</PackageVersion >
43- <PackageLicenseExpression >MIT</PackageLicenseExpression >
44- <PackageIcon >css_logo.png</PackageIcon >
45- <SignAssembly >True</SignAssembly >
46- <AssemblyOriginatorKeyFile >sgKey.snk</AssemblyOriginatorKeyFile >
47- </PropertyGroup >
48- <ItemGroup >
49- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" PrivateAssets =" All" />
50- </ItemGroup >
51- <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
52- <DocumentationFile >CSScriptLib.xml</DocumentationFile >
53- <PlatformTarget >AnyCPU</PlatformTarget >
54- <DefineConstants >TRACE;class_lib</DefineConstants >
55- </PropertyGroup >
56- <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|AnyCPU'" >
57- <DocumentationFile >CSScriptLib.xml</DocumentationFile >
58- <DefineConstants >TRACE;class_lib</DefineConstants >
59- </PropertyGroup >
60- <ItemGroup >
61- <Compile Remove =" CSScriptLib.Eval.CodeDom.cs" />
62- <Compile Remove =" output\aggregate.cs" />
63- <Compile Remove =" output\Test.cs" />
64- <Compile Remove =" sample.cs" />
65- <Compile Remove =" samples.cs" />
66- </ItemGroup >
67- <ItemGroup >
68- <None Remove =" nuget-samples.cmd" />
69- </ItemGroup >
70- <ItemGroup >
71- <Compile Include =" ..\..\..\cscs\CodeDom\CompilerResults.cs" Link =" CodeDom\CompilerResults.cs" />
72- <Compile Include =" ..\..\..\cscs\CodeDom\CompilerError.cs" Link =" CodeDom\CompilerError.cs" />
73- <Compile Include =" ..\..\..\cscs\fileparser.cs" Link =" fileparser.cs" />
74- <Compile Include =" ..\..\..\cscs\Project.cs" Link =" Project.cs" />
75- <Compile Include =" ..\..\..\cscs\ScriptParser.cs" Link =" ScriptParser.cs" />
76- <Compile Include =" ..\..\..\cscs\ScriptParsingResult.cs" Link =" ScriptParsingResult.cs" />
77- <Compile Include =" ..\..\..\cscs\Utils\CoreExtensions.cs" Link =" Utils\CoreExtensions.cs" />
78- <Compile Include =" ..\..\..\cscs\Utils\CurrentDirGuard.cs" Link =" Utils\CurrentDirGuard.cs" />
79- <Compile Include =" ..\..\..\cscs\Utils\LinqExtensions.cs" Link =" Utils\LinqExtensions.cs" />
80- <Compile Include =" ..\..\..\cscs\Utils\PathExtensions.cs" Link =" Utils\PathExtensions.cs" />
81- <Compile Include =" ..\..\..\cscs\Utils\Globals.cs" Link =" Utils\Globals.cs" />
82- <Compile Include =" ..\..\..\cscs\Utils\Profiler.cs" Link =" Profiler.cs" />
83- <Compile Include =" ..\..\..\cscs\Utils\ReflectionExtensions.cs" Link =" Utils\ReflectionExtensions.cs" />
84- <Compile Include =" ..\..\..\cscs\Utils\Runtime.cs" Link =" Utils\Runtime.cs" />
85- <Compile Include =" ..\..\..\cscs\Utils\SimpleAsmProbing.cs" Link =" SimpleAsmProbing.cs" />
86- <Compile Include =" ..\..\..\cscs\Utils\SocketExtensions.cs" Link =" SocketExtensions.cs" />
87- <Compile Include =" ..\..\..\cscs\Utils\StringExtensions.cs" Link =" Utils\StringExtensions.cs" />
88- <Compile Include =" ..\..\..\cscs\Utils\WildCardExtensions.cs" Link =" Utils\WildCardExtensions.cs" />
89- </ItemGroup >
90- <ItemGroup >
91- <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.Scripting" Version =" 4.14.0" />
92- <PackageReference Include =" Microsoft.CodeAnalysis.Scripting.Common" Version =" 4.14.0" />
93- <PackageReference Include =" System.Runtime.Loader" Version =" 4.3.0" />
94- <PackageReference Include =" Microsoft.Extensions.DependencyModel" Version =" 9.0.7" />
95- <PackageReference Include =" System.Text.Json" Version =" 9.0.7" />
96- </ItemGroup >
97- <ItemGroup >
98- <None Include =" ..\..\..\logo\css_logo.png" >
99- <Pack >True</Pack >
100- <PackagePath ></PackagePath >
101- </None >
102- <None Include =" samples.cs" />
103- </ItemGroup >
104- <ItemGroup >
105- <Folder Include =" CodeDom\" />
106- </ItemGroup >
107- <ItemGroup >
108- <Compile Update =" Properties\Resources.Designer.cs" >
109- <DependentUpon >Resources.resx</DependentUpon >
110- <DesignTime >True</DesignTime >
111- <AutoGen >True</AutoGen >
112- </Compile >
113- </ItemGroup >
114- <ItemGroup >
115- <EmbeddedResource Update =" Properties\Resources.resx" >
116- <LastGenOutput >Resources.Designer.cs</LastGenOutput >
117- <Generator >ResXFileCodeGenerator</Generator >
118- <CustomToolNamespace >CSScripting</CustomToolNamespace >
119- </EmbeddedResource >
120- </ItemGroup >
121- <Target Name =" PostBuild" AfterTargets =" PostBuildEvent" >
122- <Exec Command =" IF exist " $(ProjectDir)out" ( echo . ) ELSE ( md " $(ProjectDir)out" )

 copy " $(TargetDir)$(TargetFileName)" " $(ProjectDir)output\$(TargetFileName)"
 copy " $(TargetDir)$(ProjectName).xml" " $(ProjectDir)output\$(ProjectName).xml"
 rem copy " $(ProjectDir)..\..\src\CSScriptLib.Client\Test.cs" " $(ProjectDir)output\Test.cs"
 rem copy " $(ProjectDir)..\..\src\CSScriptLib.Client\Test.cs" " $(ProjectDir)bin\$(ConfigurationName)\Test.cs"

 " />
123- </Target >
40+ ### CSScriptLib
41+ - no changes</PackageReleaseNotes >
42+ <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
43+ <AssemblyVersion >4.11.2.0</AssemblyVersion >
44+ <FileVersion >4.11.2.0</FileVersion >
45+ <PackageVersion >4.11.2.0</PackageVersion >
46+ <PackageLicenseExpression >MIT</PackageLicenseExpression >
47+ <PackageIcon >css_logo.png</PackageIcon >
48+ <SignAssembly >True</SignAssembly >
49+ <AssemblyOriginatorKeyFile >sgKey.snk</AssemblyOriginatorKeyFile >
50+ </PropertyGroup >
51+ <ItemGroup >
52+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" PrivateAssets =" All" />
53+ </ItemGroup >
54+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
55+ <DocumentationFile >CSScriptLib.xml</DocumentationFile >
56+ <PlatformTarget >AnyCPU</PlatformTarget >
57+ <DefineConstants >TRACE;class_lib</DefineConstants >
58+ </PropertyGroup >
59+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|AnyCPU'" >
60+ <DocumentationFile >CSScriptLib.xml</DocumentationFile >
61+ <DefineConstants >TRACE;class_lib</DefineConstants >
62+ </PropertyGroup >
63+ <ItemGroup >
64+ <Compile Remove =" CSScriptLib.Eval.CodeDom.cs" />
65+ <Compile Remove =" output\aggregate.cs" />
66+ <Compile Remove =" output\Test.cs" />
67+ <Compile Remove =" sample.cs" />
68+ <Compile Remove =" samples.cs" />
69+ </ItemGroup >
70+ <ItemGroup >
71+ <None Remove =" nuget-samples.cmd" />
72+ </ItemGroup >
73+ <ItemGroup >
74+ <Compile Include =" ..\..\..\cscs\CodeDom\CompilerResults.cs" Link =" CodeDom\CompilerResults.cs" />
75+ <Compile Include =" ..\..\..\cscs\CodeDom\CompilerError.cs" Link =" CodeDom\CompilerError.cs" />
76+ <Compile Include =" ..\..\..\cscs\fileparser.cs" Link =" fileparser.cs" />
77+ <Compile Include =" ..\..\..\cscs\Project.cs" Link =" Project.cs" />
78+ <Compile Include =" ..\..\..\cscs\ScriptParser.cs" Link =" ScriptParser.cs" />
79+ <Compile Include =" ..\..\..\cscs\ScriptParsingResult.cs" Link =" ScriptParsingResult.cs" />
80+ <Compile Include =" ..\..\..\cscs\Utils\CoreExtensions.cs" Link =" Utils\CoreExtensions.cs" />
81+ <Compile Include =" ..\..\..\cscs\Utils\CurrentDirGuard.cs" Link =" Utils\CurrentDirGuard.cs" />
82+ <Compile Include =" ..\..\..\cscs\Utils\LinqExtensions.cs" Link =" Utils\LinqExtensions.cs" />
83+ <Compile Include =" ..\..\..\cscs\Utils\PathExtensions.cs" Link =" Utils\PathExtensions.cs" />
84+ <Compile Include =" ..\..\..\cscs\Utils\Globals.cs" Link =" Utils\Globals.cs" />
85+ <Compile Include =" ..\..\..\cscs\Utils\Profiler.cs" Link =" Profiler.cs" />
86+ <Compile Include =" ..\..\..\cscs\Utils\ReflectionExtensions.cs" Link =" Utils\ReflectionExtensions.cs" />
87+ <Compile Include =" ..\..\..\cscs\Utils\Runtime.cs" Link =" Utils\Runtime.cs" />
88+ <Compile Include =" ..\..\..\cscs\Utils\SimpleAsmProbing.cs" Link =" SimpleAsmProbing.cs" />
89+ <Compile Include =" ..\..\..\cscs\Utils\SocketExtensions.cs" Link =" SocketExtensions.cs" />
90+ <Compile Include =" ..\..\..\cscs\Utils\StringExtensions.cs" Link =" Utils\StringExtensions.cs" />
91+ <Compile Include =" ..\..\..\cscs\Utils\WildCardExtensions.cs" Link =" Utils\WildCardExtensions.cs" />
92+ </ItemGroup >
93+ <ItemGroup >
94+ <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.Scripting" Version =" 4.14.0" />
95+ <PackageReference Include =" Microsoft.CodeAnalysis.Scripting.Common" Version =" 4.14.0" />
96+ <PackageReference Include =" System.Runtime.Loader" Version =" 4.3.0" />
97+ <PackageReference Include =" Microsoft.Extensions.DependencyModel" Version =" 9.0.7" />
98+ <PackageReference Include =" System.Text.Json" Version =" 9.0.7" />
99+ </ItemGroup >
100+ <ItemGroup >
101+ <None Include =" ..\..\..\logo\css_logo.png" >
102+ <Pack >True</Pack >
103+ <PackagePath ></PackagePath >
104+ </None >
105+ <None Include =" samples.cs" />
106+ </ItemGroup >
107+ <ItemGroup >
108+ <Folder Include =" CodeDom\" />
109+ </ItemGroup >
110+ <ItemGroup >
111+ <Compile Update =" Properties\Resources.Designer.cs" >
112+ <DependentUpon >Resources.resx</DependentUpon >
113+ <DesignTime >True</DesignTime >
114+ <AutoGen >True</AutoGen >
115+ </Compile >
116+ </ItemGroup >
117+ <ItemGroup >
118+ <EmbeddedResource Update =" Properties\Resources.resx" >
119+ <LastGenOutput >Resources.Designer.cs</LastGenOutput >
120+ <Generator >ResXFileCodeGenerator</Generator >
121+ <CustomToolNamespace >CSScripting</CustomToolNamespace >
122+ </EmbeddedResource >
123+ </ItemGroup >
124+ <Target Name =" PostBuild" AfterTargets =" PostBuildEvent" >
125+ <Exec Command =" IF exist " $(ProjectDir)out" ( echo . ) ELSE ( md " $(ProjectDir)out" )

 copy " $(TargetDir)$(TargetFileName)" " $(ProjectDir)output\$(TargetFileName)"
 copy " $(TargetDir)$(ProjectName).xml" " $(ProjectDir)output\$(ProjectName).xml"
 rem copy " $(ProjectDir)..\..\src\CSScriptLib.Client\Test.cs" " $(ProjectDir)output\Test.cs"
 rem copy " $(ProjectDir)..\..\src\CSScriptLib.Client\Test.cs" " $(ProjectDir)bin\$(ConfigurationName)\Test.cs"

 " />
126+ </Target >
124127</Project >
0 commit comments