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

" />
</Target>
</Project>