1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
- <PropertyGroup >
4
- <TargetFramework >netstandard2.0</TargetFramework >
5
- <AssemblyName >CSScriptLib</AssemblyName >
6
- <PackageId >CS-Script</PackageId >
7
- <!-- <NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>-->
8
- <!-- <PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback>-->
9
- <GenerateAssemblyConfigurationAttribute >false</GenerateAssemblyConfigurationAttribute >
10
- <GenerateAssemblyCompanyAttribute >false</GenerateAssemblyCompanyAttribute >
11
- <GenerateAssemblyProductAttribute >false</GenerateAssemblyProductAttribute >
12
- <PublishRepositoryUrl >true</PublishRepositoryUrl >
13
- <IncludeSymbols >true</IncludeSymbols >
14
- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
15
- <SymbolPackageFormat >snupkg</SymbolPackageFormat >
16
- <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
17
- <Version >4.8.2.0</Version >
18
- <Authors >Oleg Shilo</Authors >
19
- <Description >CS-Script engine Class Library for .NET 5 (and higher)</Description >
20
- <Copyright >(C) 2018-2022 Oleg Shilo</Copyright >
21
- <PackageLicenseUrl ></PackageLicenseUrl >
22
- <PackageProjectUrl >https://github.com/oleg-shilo/cs-script</PackageProjectUrl >
23
- <PackageIconUrl ></PackageIconUrl >
24
- <RepositoryUrl >https://github.com/oleg-shilo/cs-script.git</RepositoryUrl >
25
- <RepositoryType >Git</RepositoryType >
26
- <PackageTags >C#, scripting, script, dynamic, .NET. .NET Core</PackageTags >
27
- <PackageReleaseNotes >
28
- ---
3
+ <PropertyGroup >
4
+ <TargetFramework >netstandard2.0</TargetFramework >
5
+ <AssemblyName >CSScriptLib</AssemblyName >
6
+ <PackageId >CS-Script</PackageId >
7
+ <!-- <NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>-->
8
+ <!-- <PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback>-->
9
+ <GenerateAssemblyConfigurationAttribute >false</GenerateAssemblyConfigurationAttribute >
10
+ <GenerateAssemblyCompanyAttribute >false</GenerateAssemblyCompanyAttribute >
11
+ <GenerateAssemblyProductAttribute >false</GenerateAssemblyProductAttribute >
12
+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
13
+ <IncludeSymbols >true</IncludeSymbols >
14
+ <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
15
+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
16
+ <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
17
+ <Version >4.8.3.0</Version >
18
+ <Authors >Oleg Shilo</Authors >
19
+ <Description >CS-Script engine Class Library for .NET 5 (and higher)</Description >
20
+ <Copyright >(C) 2018-2022 Oleg Shilo</Copyright >
21
+ <PackageLicenseUrl ></PackageLicenseUrl >
22
+ <PackageProjectUrl >https://github.com/oleg-shilo/cs-script</PackageProjectUrl >
23
+ <PackageIconUrl ></PackageIconUrl >
24
+ <RepositoryUrl >https://github.com/oleg-shilo/cs-script.git</RepositoryUrl >
25
+ <RepositoryType >Git</RepositoryType >
26
+ <PackageTags >C#, scripting, script, dynamic, .NET. .NET Core</PackageTags >
27
+ <PackageReleaseNotes >---
29
28
30
- ## Changes
29
+ ## Changes
31
30
32
- ### CLI
31
+ ### CLI
33
32
34
- - Issue #336 (further optimization)
33
+ - Issue #336 (further optimization)
35
34
36
- ### CSScriptLib
35
+ ### CSScriptLib
37
36
38
- - no changes
39
- </PackageReleaseNotes >
40
- <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
41
- <AssemblyVersion >4.8.2 .0</AssemblyVersion >
42
- <FileVersion >4.8.2 .0</FileVersion >
43
- <PackageLicenseExpression >MIT</PackageLicenseExpression >
44
- <PackageIcon >css_logo.png</PackageIcon >
45
- </PropertyGroup >
46
- <ItemGroup >
47
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" PrivateAssets =" All" />
48
- </ItemGroup >
49
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
50
- <DocumentationFile >CSScriptLib.xml</DocumentationFile >
51
- <PlatformTarget >AnyCPU</PlatformTarget >
52
- <DefineConstants >TRACE;class_lib</DefineConstants >
53
- </PropertyGroup >
54
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|AnyCPU'" >
55
- <DocumentationFile >CSScriptLib.xml</DocumentationFile >
56
- <DefineConstants >TRACE;class_lib</DefineConstants >
57
- </PropertyGroup >
58
- <ItemGroup >
59
- <Compile Remove =" CSScriptLib.Eval.CodeDom.cs" />
60
- <Compile Remove =" output\aggregate.cs" />
61
- <Compile Remove =" output\Test.cs" />
62
- <Compile Remove =" sample.cs" />
63
- <Compile Remove =" samples.cs" />
64
- </ItemGroup >
65
- <ItemGroup >
66
- <None Remove =" nuget-samples.cmd" />
67
- </ItemGroup >
68
- <ItemGroup >
69
- <Compile Include =" ..\..\..\cscs\CodeDom\CompilerResults.cs" Link =" CodeDom\CompilerResults.cs" />
70
- <Compile Include =" ..\..\..\cscs\CodeDom\CompilerError.cs" Link =" CodeDom\CompilerError.cs" />
71
- <Compile Include =" ..\..\..\cscs\fileparser.cs" Link =" fileparser.cs" />
72
- <Compile Include =" ..\..\..\cscs\Project.cs" Link =" Project.cs" />
73
- <Compile Include =" ..\..\..\cscs\ScriptParser.cs" Link =" ScriptParser.cs" />
74
- <Compile Include =" ..\..\..\cscs\ScriptParsingResult.cs" Link =" ScriptParsingResult.cs" />
75
- <Compile Include =" ..\..\..\cscs\Utils\CoreExtensions.cs" Link =" Utils\CoreExtensions.cs" />
76
- <Compile Include =" ..\..\..\cscs\Utils\CurrentDirGuard.cs" Link =" Utils\CurrentDirGuard.cs" />
77
- <Compile Include =" ..\..\..\cscs\Utils\LinqExtensions.cs" Link =" Utils\LinqExtensions.cs" />
78
- <Compile Include =" ..\..\..\cscs\Utils\PathExtensions.cs" Link =" Utils\PathExtensions.cs" />
79
- <Compile Include =" ..\..\..\cscs\Utils\Globals.cs" Link =" Utils\Globals.cs" />
80
- <Compile Include =" ..\..\..\cscs\Utils\Profiler.cs" Link =" Profiler.cs" />
81
- <Compile Include =" ..\..\..\cscs\Utils\ReflectionExtensions.cs" Link =" Utils\ReflectionExtensions.cs" />
82
- <Compile Include =" ..\..\..\cscs\Utils\Runtime.cs" Link =" Utils\Runtime.cs" />
83
- <Compile Include =" ..\..\..\cscs\Utils\SimpleAsmProbing.cs" Link =" SimpleAsmProbing.cs" />
84
- <Compile Include =" ..\..\..\cscs\Utils\SocketExtensions.cs" Link =" SocketExtensions.cs" />
85
- <Compile Include =" ..\..\..\cscs\Utils\StringExtensions.cs" Link =" Utils\StringExtensions.cs" />
86
- <Compile Include =" ..\..\..\cscs\Utils\WildCardExtensions.cs" Link =" Utils\WildCardExtensions.cs" />
87
- </ItemGroup >
88
- <ItemGroup >
89
- <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.Scripting" Version =" 4.1.0" />
90
- <PackageReference Include =" Microsoft.CodeAnalysis.Scripting.Common" Version =" 4.1.0" />
91
- <PackageReference Include =" System.Runtime.Loader" Version =" 4.3.0" />
92
- <PackageReference Include =" Microsoft.Extensions.DependencyModel" Version =" 6.0.0" />
93
- </ItemGroup >
94
- <ItemGroup >
95
- <None Include =" ..\..\..\logo\css_logo.png" >
96
- <Pack >True</Pack >
97
- <PackagePath ></PackagePath >
98
- </None >
99
- <None Include =" samples.cs" />
100
- </ItemGroup >
101
- <ItemGroup >
102
- <Folder Include =" CodeDom\" />
103
- </ItemGroup >
104
- <ItemGroup >
105
- <Compile Update =" Properties\Resources.Designer.cs" >
106
- <DependentUpon >Resources.resx</DependentUpon >
107
- <DesignTime >True</DesignTime >
108
- <AutoGen >True</AutoGen >
109
- </Compile >
110
- </ItemGroup >
111
- <ItemGroup >
112
- <EmbeddedResource Update =" Properties\Resources.resx" >
113
- <LastGenOutput >Resources.Designer.cs</LastGenOutput >
114
- <Generator >ResXFileCodeGenerator</Generator >
115
- <CustomToolNamespace >CSScripting</CustomToolNamespace >
116
- </EmbeddedResource >
117
- </ItemGroup >
118
- <Target Name =" PostBuild" AfterTargets =" PostBuildEvent" >
119
- <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"

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

 " />
119
+ </Target >
121
120
</Project >
0 commit comments