Skip to content

Commit

Permalink
Release v4.8.22.0
Browse files Browse the repository at this point in the history
CI/Release update
  • Loading branch information
oleg-shilo committed Nov 27, 2024
1 parent 513a1aa commit cea9c3b
Show file tree
Hide file tree
Showing 6 changed files with 422 additions and 473 deletions.
365 changes: 174 additions & 191 deletions help.txt

Large diffs are not rendered by default.

9 changes: 3 additions & 6 deletions src/CSScriptLib/src/CSScriptLib/CSScriptLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,12 @@
## Changes

### CLI
- Rebuild for .NET 9.0
- Secondary "start build server" commands are made asynchronous to match the primary `css -server:start` behaver. The impacted commands are:
- `css -servers:start`
- `css -server_r:start`
- Minor update in the script project info generation to allow better integration with IDEs

### CSScriptLib
- Rebuild for .NET 9.0</PackageReleaseNotes>
- no changes</PackageReleaseNotes>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<AssemblyVersion>4.8.21.0</AssemblyVersion>
<AssemblyVersion>4.8.22.0</AssemblyVersion>
<FileVersion>4.8.22.0</FileVersion>
<PackageVersion>4.8.22.0</PackageVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down
9 changes: 3 additions & 6 deletions src/chocolatey/cs-script.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>cs-script</id>
<version>4.8.21.0</version>
<version>4.8.22.0</version>
<title>CS-Script</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -29,13 +29,10 @@
## Changes

### CLI
- Rebuild for .NET 9.0
- Secondary "start build server" commands are made asynchronous to match the primary `css -server:start` behaver. The impacted commands are:
- `css -servers:start`
- `css -server_r:start`
- Minor update in the script project info generation to allow better integration with IDEs

### CSScriptLib
- Rebuild for .NET 9.0</releaseNotes>
- no changes</releaseNotes>
<copyright>Oleg Shilo</copyright>
<tags>cs-script C# script dynamic hosting</tags>
<dependencies>
Expand Down
271 changes: 125 additions & 146 deletions src/cscs/cscs.csproj
Original file line number Diff line number Diff line change
@@ -1,148 +1,127 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<AssemblyName>cscs</AssemblyName>
<RootNamespace>CSScripting</RootNamespace>
<StartupObject />
<Version>4.8.21.1</Version>
<Authors>Oleg Shilo</Authors>
<Product>CS-Script</Product>
<Copyright>(C) 2004-2023 Oleg Shilo</Copyright>
<PackageLicenseUrl></PackageLicenseUrl>
<PackageProjectUrl>https://github.com/oleg-shilo/cs-script</PackageProjectUrl>
<PackageIconUrl></PackageIconUrl>
<RepositoryUrl>https://github.com/oleg-shilo/cs-script</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>C# script dynamic</PackageTags>
<AssemblyVersion>4.8.21.1</AssemblyVersion>
<FileVersion>4.8.21.1</FileVersion>
<PackageReleaseNotes>
---

## Changes

### CLI
- Rebuild for .NET 9.0
- Secondary "start build server" commands are made asynchronous to match the primary `css -server:start` behaver. The impacted commands are:
- `css -servers:start`
- `css -server_r:start`

### CSScriptLib
- Rebuild for .NET 9.0
</PackageReleaseNotes>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>css_logo.png</PackageIcon>
<ApplicationIcon>css_logo.ico</ApplicationIcon>
<PackageId>cs-script.cli</PackageId>
<Title>cs-script.cli</Title>
<PackAsTool>true</PackAsTool>
<ToolCommandName>css</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
<!--<PackageReadmeFile>package_readme.md</PackageReadmeFile>-->
</PropertyGroup>


<!-- Conditional descriptions -->
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<Description>C# Script engine .NET8.0 CLI executable</Description>
<ProductName>C# Script (.NET8.0)</ProductName>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net9.0'">
<Description>C# Script engine .NET9.0 CLI executable</Description>
<ProductName>C# Script (.NET9.0)</ProductName>
</PropertyGroup>

<!-- Apply the description -->
<PropertyGroup>
<AssemblyDescription>$(Description)</AssemblyDescription>
<AssemblyProductAttribute>$(ProductName)</AssemblyProductAttribute>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<WarningLevel>3</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;CS_SCRIPT</DefineConstants>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="set css_bin=&quot;$(ProjectDir)..\css\bin\$(ConfigurationName)&quot;&#xD;&#xA;IF exist %25css_bin%25 ( echo . ) ELSE ( md %25css_bin%25)&#xD;&#xA;&#xD;&#xA;echo &quot;Target framework: $(TargetFramework)&quot;&#xD;&#xA;&#xD;&#xA;md &quot;$(ProjectDir)..\css\bin\$(TargetFramework)&quot;&#xD;&#xA;&#xD;&#xA;pushd .\&#xD;&#xA;cd $(TargetDir)&#xD;&#xA;IF exist deploy.cmd ( deploy.cmd )&#xD;&#xA;popd&#xD;&#xA; &#xD;&#xA;&#xD;&#xA;IF exist &quot;$(TargetDir)cscs.exe&quot; (set exe_file=$(TargetName).exe) ELSE (set exe_file=$(TargetName))&#xD;&#xA;echo &quot;$(TargetDir)%25exe_file%25&quot;&#xD;&#xA;&#xD;&#xA;copy &quot;$(TargetPath)&quot; &quot;$(ProjectDir)..\css\bin\$(TargetFramework)\$(TargetName).dll&quot;&#xD;&#xA;copy &quot;$(TargetDir)%25exe_file%25&quot; &quot;$(ProjectDir)..\css\bin\$(TargetFramework)\%25exe_file%25&quot;&#xD;&#xA;copy &quot;$(TargetDir)cscs.runtimeconfig.json&quot; &quot;$(ProjectDir)..\css\bin\$(TargetFramework)\cscs.runtimeconfig.json&quot;&#xD;&#xA;" />
</Target>
<ItemGroup>
<Compile Remove="bin7\**" />
<EmbeddedResource Remove="bin7\**" />
<None Remove="bin7\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="GACHelper.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\logo\css_logo.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.11.0" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<CustomToolNamespace>CSScripting</CustomToolNamespace>
</EmbeddedResource>
</ItemGroup>

<PropertyGroup>
<RollForward>LatestMajor</RollForward>
<ExcludeFiles>*.pdb</ExcludeFiles>
<PackageReadmeFile>package_readme.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>

<Content Include="..\out\static_content\-mkshim\**\*" Link="ToolPackage/-mkshim" Pack="true" PackagePath="tools/net9.0/any/-mkshim" />
<Content Include="..\out\static_content\-self\**\*" Link="ToolPackage/-self" Pack="true" PackagePath="tools/net9.0/any/-self" />
<Content Include="..\out\static_content\-set\**\*" Link="ToolPackage/-set" Pack="true" PackagePath="tools/net9.0/any/-set" />
<Content Include="..\out\static_content\-web\**\*" Link="ToolPackage/-web" Pack="true" PackagePath="tools/net9.0/any/-web" />
<Content Include="..\out\static_content\-wdbg\**\*" Link="ToolPackage/-wdbg" Pack="true" PackagePath="tools/net9.0/any/-wdbg" />

<Content Include="..\out\static_content\-mkshim\**\*" Link="ToolPackage/-mkshim" Pack="true" PackagePath="tools/net8.0/any/-mkshim" />
<Content Include="..\out\static_content\-self\**\*" Link="ToolPackage/-self" Pack="true" PackagePath="tools/net8.0/any/-self" />
<Content Include="..\out\static_content\-set\**\*" Link="ToolPackage/-set" Pack="true" PackagePath="tools/net8.0/any/-set" />
<Content Include="..\out\static_content\-web\**\*" Link="ToolPackage/-web" Pack="true" PackagePath="tools/net8.0/any/-web" />
<!--<Content Include="..\out\static_content\-wdbg\**\*" Link="ToolPackage/-wdbg" Pack="true" PackagePath="tools/net8.0/any/-wdbg" />-->

<Content Include="..\css\bin\net9.0-windows\csws.runtimeconfig.json" Link="ToolPackage/net.9" Pack="true" PackagePath="tools/net9.0/any/csws.runtimeconfig.json" />
<Content Include="..\css\bin\net9.0-windows\csws.dll" Link="ToolPackage/net.9" Pack="true" PackagePath="tools/net9.0/any/csws.dll" />
<Content Include="..\css\bin\net9.0-windows\csws.exe" Link="ToolPackage/net.9" Pack="true" PackagePath="tools/net9.0/any/csws.exe" />
<Content Include="..\css\bin\net9.0-windows\csws.deps.json" Link="ToolPackage/net.9" Pack="true" PackagePath="tools/net9.0/any/csws.deps.json" />

<Content Include="..\css\bin\net8.0-windows\csws.runtimeconfig.json" Link="ToolPackage/net.8" Pack="true" PackagePath="tools/net8.0/any/csws.runtimeconfig.json" />
<Content Include="..\css\bin\net8.0-windows\csws.dll" Link="ToolPackage/net.8" Pack="true" PackagePath="tools/net8.0/any/csws.dll" />
<Content Include="..\css\bin\net8.0-windows\csws.exe" Link="ToolPackage/net.8" Pack="true" PackagePath="tools/net8.0/any/csws.exe" />
<Content Include="..\css\bin\net8.0-windows\csws.deps.json" Link="ToolPackage/net.8" Pack="true" PackagePath="tools/net8.0/any/csws.deps.json" />

<Content Include="..\out\static_content\global-usings.cs" Pack="true" PackagePath="tools/net9.0/any/lib" />
</ItemGroup>

<ItemGroup>
<None Include="package_readme.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>



<Target Name="PreBuild" BeforeTargets="PreBuildEvent"></Target>
</Project>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<AssemblyName>cscs</AssemblyName>
<RootNamespace>CSScripting</RootNamespace>
<StartupObject />
<Version>4.8.22.0</Version>
<Authors>Oleg Shilo</Authors>
<Product>CS-Script</Product>
<Copyright>(C) 2004-2023 Oleg Shilo</Copyright>
<PackageLicenseUrl></PackageLicenseUrl>
<PackageProjectUrl>https://github.com/oleg-shilo/cs-script</PackageProjectUrl>
<PackageIconUrl></PackageIconUrl>
<RepositoryUrl>https://github.com/oleg-shilo/cs-script</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>C# script dynamic</PackageTags>
<AssemblyVersion>4.8.22.0</AssemblyVersion>
<FileVersion>4.8.22.0</FileVersion>
<PackageReleaseNotes>---

## Changes

### CLI
- Minor update in the script project info generation to allow better integration with IDEs

### CSScriptLib
- no changes</PackageReleaseNotes>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>css_logo.png</PackageIcon>
<ApplicationIcon>css_logo.ico</ApplicationIcon>
<PackageId>cs-script.cli</PackageId>
<Title>cs-script.cli</Title>
<PackAsTool>true</PackAsTool>
<ToolCommandName>css</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
<!--<PackageReadmeFile>package_readme.md</PackageReadmeFile>-->
</PropertyGroup>
<!-- Conditional descriptions -->
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<Description>C# Script engine .NET8.0 CLI executable</Description>
<ProductName>C# Script (.NET8.0)</ProductName>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net9.0'">
<Description>C# Script engine .NET9.0 CLI executable</Description>
<ProductName>C# Script (.NET9.0)</ProductName>
</PropertyGroup>
<!-- Apply the description -->
<PropertyGroup>
<AssemblyDescription>$(Description)</AssemblyDescription>
<AssemblyProductAttribute>$(ProductName)</AssemblyProductAttribute>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<WarningLevel>3</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;CS_SCRIPT</DefineConstants>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="set css_bin=&quot;$(ProjectDir)..\css\bin\$(ConfigurationName)&quot;&#xD;&#xA;IF exist %25css_bin%25 ( echo . ) ELSE ( md %25css_bin%25)&#xD;&#xA;&#xD;&#xA;echo &quot;Target framework: $(TargetFramework)&quot;&#xD;&#xA;&#xD;&#xA;md &quot;$(ProjectDir)..\css\bin\$(TargetFramework)&quot;&#xD;&#xA;&#xD;&#xA;pushd .\&#xD;&#xA;cd $(TargetDir)&#xD;&#xA;IF exist deploy.cmd ( deploy.cmd )&#xD;&#xA;popd&#xD;&#xA; &#xD;&#xA;&#xD;&#xA;IF exist &quot;$(TargetDir)cscs.exe&quot; (set exe_file=$(TargetName).exe) ELSE (set exe_file=$(TargetName))&#xD;&#xA;echo &quot;$(TargetDir)%25exe_file%25&quot;&#xD;&#xA;&#xD;&#xA;copy &quot;$(TargetPath)&quot; &quot;$(ProjectDir)..\css\bin\$(TargetFramework)\$(TargetName).dll&quot;&#xD;&#xA;copy &quot;$(TargetDir)%25exe_file%25&quot; &quot;$(ProjectDir)..\css\bin\$(TargetFramework)\%25exe_file%25&quot;&#xD;&#xA;copy &quot;$(TargetDir)cscs.runtimeconfig.json&quot; &quot;$(ProjectDir)..\css\bin\$(TargetFramework)\cscs.runtimeconfig.json&quot;&#xD;&#xA;" />
</Target>
<ItemGroup>
<Compile Remove="bin7\**" />
<EmbeddedResource Remove="bin7\**" />
<None Remove="bin7\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="GACHelper.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\logo\css_logo.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.11.0" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<CustomToolNamespace>CSScripting</CustomToolNamespace>
</EmbeddedResource>
</ItemGroup>
<PropertyGroup>
<RollForward>LatestMajor</RollForward>
<ExcludeFiles>*.pdb</ExcludeFiles>
<PackageReadmeFile>package_readme.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<Content Include="..\out\static_content\-mkshim\**\*" Link="ToolPackage/-mkshim" Pack="true" PackagePath="tools/net9.0/any/-mkshim" />
<Content Include="..\out\static_content\-self\**\*" Link="ToolPackage/-self" Pack="true" PackagePath="tools/net9.0/any/-self" />
<Content Include="..\out\static_content\-set\**\*" Link="ToolPackage/-set" Pack="true" PackagePath="tools/net9.0/any/-set" />
<Content Include="..\out\static_content\-web\**\*" Link="ToolPackage/-web" Pack="true" PackagePath="tools/net9.0/any/-web" />
<Content Include="..\out\static_content\-wdbg\**\*" Link="ToolPackage/-wdbg" Pack="true" PackagePath="tools/net9.0/any/-wdbg" />
<Content Include="..\out\static_content\-mkshim\**\*" Link="ToolPackage/-mkshim" Pack="true" PackagePath="tools/net8.0/any/-mkshim" />
<Content Include="..\out\static_content\-self\**\*" Link="ToolPackage/-self" Pack="true" PackagePath="tools/net8.0/any/-self" />
<Content Include="..\out\static_content\-set\**\*" Link="ToolPackage/-set" Pack="true" PackagePath="tools/net8.0/any/-set" />
<Content Include="..\out\static_content\-web\**\*" Link="ToolPackage/-web" Pack="true" PackagePath="tools/net8.0/any/-web" />
<!--<Content Include="..\out\static_content\-wdbg\**\*" Link="ToolPackage/-wdbg" Pack="true" PackagePath="tools/net8.0/any/-wdbg" />-->
<Content Include="..\css\bin\net9.0-windows\csws.runtimeconfig.json" Link="ToolPackage/net.9" Pack="true" PackagePath="tools/net9.0/any/csws.runtimeconfig.json" />
<Content Include="..\css\bin\net9.0-windows\csws.dll" Link="ToolPackage/net.9" Pack="true" PackagePath="tools/net9.0/any/csws.dll" />
<Content Include="..\css\bin\net9.0-windows\csws.exe" Link="ToolPackage/net.9" Pack="true" PackagePath="tools/net9.0/any/csws.exe" />
<Content Include="..\css\bin\net9.0-windows\csws.deps.json" Link="ToolPackage/net.9" Pack="true" PackagePath="tools/net9.0/any/csws.deps.json" />
<Content Include="..\css\bin\net8.0-windows\csws.runtimeconfig.json" Link="ToolPackage/net.8" Pack="true" PackagePath="tools/net8.0/any/csws.runtimeconfig.json" />
<Content Include="..\css\bin\net8.0-windows\csws.dll" Link="ToolPackage/net.8" Pack="true" PackagePath="tools/net8.0/any/csws.dll" />
<Content Include="..\css\bin\net8.0-windows\csws.exe" Link="ToolPackage/net.8" Pack="true" PackagePath="tools/net8.0/any/csws.exe" />
<Content Include="..\css\bin\net8.0-windows\csws.deps.json" Link="ToolPackage/net.8" Pack="true" PackagePath="tools/net8.0/any/csws.deps.json" />
<Content Include="..\out\static_content\global-usings.cs" Pack="true" PackagePath="tools/net9.0/any/lib" />
</ItemGroup>
<ItemGroup>
<None Include="package_readme.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent"></Target>
</Project>
4 changes: 2 additions & 2 deletions src/css/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.8.21.0")]
[assembly: AssemblyFileVersion("4.8.21.0")]
[assembly: AssemblyVersion("4.8.22.0")]
[assembly: AssemblyFileVersion("4.8.22.0")]
Loading

0 comments on commit cea9c3b

Please sign in to comment.