-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSystemExplorer.CodeService.csproj
More file actions
106 lines (93 loc) · 6.65 KB
/
Copy pathSystemExplorer.CodeService.csproj
File metadata and controls
106 lines (93 loc) · 6.65 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>SystemExplorer.CodeService</PackageId>
<Version>0.1.0</Version>
<Description>Code intelligence service for the System Explorer Godot editor plugin.</Description>
<Authors>FootClanSoldier</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/FootClanSoldier/SystemExplorer.CodeService</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>godot;csharp;roslyn;code-intelligence;system-explorer</PackageTags>
<PackAsTool>true</PackAsTool>
<ToolCommandName>system-explorer-code</ToolCommandName>
<PackageOutputPath>$(MSBuildProjectDirectory)/nupkg</PackageOutputPath>
<PrivateRoslynRuntimeSourceDirectory>$(MSBuildProjectDirectory)/ThirdParty/RoslynLanguageServer/win-x64</PrivateRoslynRuntimeSourceDirectory>
<PrivateRoslynServerDll>$(PrivateRoslynRuntimeSourceDirectory)/Microsoft.CodeAnalysis.LanguageServer.dll</PrivateRoslynServerDll>
<PrivateRoslynFeaturesDll>$(PrivateRoslynRuntimeSourceDirectory)/Microsoft.CodeAnalysis.Features.dll</PrivateRoslynFeaturesDll>
<PrivateRoslynLanguageServerProtocolDll>$(PrivateRoslynRuntimeSourceDirectory)/Microsoft.CodeAnalysis.LanguageServer.Protocol.dll</PrivateRoslynLanguageServerProtocolDll>
<PrivateRoslynDepsJson>$(PrivateRoslynRuntimeSourceDirectory)/Microsoft.CodeAnalysis.LanguageServer.deps.json</PrivateRoslynDepsJson>
<PrivateRoslynRuntimeConfigJson>$(PrivateRoslynRuntimeSourceDirectory)/Microsoft.CodeAnalysis.LanguageServer.runtimeconfig.json</PrivateRoslynRuntimeConfigJson>
<PrivateRoslynServerDllSha256>DB83A3FCB26E4F4F0F9DD1BA693C11FF876285DE549B8CC8915D83AA86637688</PrivateRoslynServerDllSha256>
<PrivateRoslynFeaturesDllSha256>74DF1223BF125E3CF36B094F83EA13486D60F932E1F32D2B8567EC3BE87ABF9D</PrivateRoslynFeaturesDllSha256>
<PrivateRoslynLanguageServerProtocolDllSha256>728DB91BF1828BE78E876FCFF25BCCC5AEB17311DD83CE8CD2D74640F1B940BC</PrivateRoslynLanguageServerProtocolDllSha256>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="StreamJsonRpc" Version="2.25.29" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Spikes/**/*.cs" />
</ItemGroup>
<ItemGroup>
<None Update="README.md" Pack="true" PackagePath="\" />
<None Remove="ThirdParty/RoslynLanguageServer/**/*" />
<None Include="ThirdParty/RoslynLanguageServer/win-x64/**/*"
Pack="true"
PackagePath="tools/$(TargetFramework)/any/roslyn/win-x64/%(RecursiveDir)%(Filename)%(Extension)" />
<None Include="ThirdParty/RoslynLanguageServer/PROVENANCE.txt"
Pack="true"
PackagePath="tools/$(TargetFramework)/any/roslyn/PROVENANCE.txt" />
<None Include="ThirdParty/RoslynLanguageServer/LICENSE.txt"
Pack="true"
PackagePath="tools/$(TargetFramework)/any/roslyn/LICENSE.txt" />
<None Include="ThirdParty/RoslynLanguageServer/ThirdPartyNotices.rtf"
Pack="true"
PackagePath="tools/$(TargetFramework)/any/roslyn/ThirdPartyNotices.rtf" />
<Folder Include="nupkg\" />
</ItemGroup>
<Target Name="ValidatePrivateRoslynRuntimeForPack" BeforeTargets="Pack">
<Error Condition="!Exists('$(PrivateRoslynServerDll)')"
Text="Private Roslyn runtime is missing Microsoft.CodeAnalysis.LanguageServer.dll." />
<Error Condition="!Exists('$(PrivateRoslynFeaturesDll)')"
Text="Private Roslyn runtime is missing Microsoft.CodeAnalysis.Features.dll." />
<Error Condition="!Exists('$(PrivateRoslynLanguageServerProtocolDll)')"
Text="Private Roslyn runtime is missing Microsoft.CodeAnalysis.LanguageServer.Protocol.dll." />
<Error Condition="!Exists('$(PrivateRoslynDepsJson)')"
Text="Private Roslyn runtime is missing Microsoft.CodeAnalysis.LanguageServer.deps.json." />
<Error Condition="!Exists('$(PrivateRoslynRuntimeConfigJson)')"
Text="Private Roslyn runtime is missing Microsoft.CodeAnalysis.LanguageServer.runtimeconfig.json." />
<Error Condition="!Exists('$(MSBuildProjectDirectory)/ThirdParty/RoslynLanguageServer/PROVENANCE.txt')"
Text="Private Roslyn runtime provenance file is missing." />
<Error Condition="!Exists('$(MSBuildProjectDirectory)/ThirdParty/RoslynLanguageServer/LICENSE.txt')"
Text="Pinned Roslyn redistribution license file is missing." />
<Error Condition="!Exists('$(MSBuildProjectDirectory)/ThirdParty/RoslynLanguageServer/ThirdPartyNotices.rtf')"
Text="Pinned Roslyn NuGet third-party notices file is missing." />
<GetFileHash Files="$(PrivateRoslynServerDll)"
Algorithm="SHA256"
Condition="Exists('$(PrivateRoslynServerDll)')">
<Output TaskParameter="Items" ItemName="_PrivateRoslynServerHash" />
</GetFileHash>
<GetFileHash Files="$(PrivateRoslynFeaturesDll)"
Algorithm="SHA256"
Condition="Exists('$(PrivateRoslynFeaturesDll)')">
<Output TaskParameter="Items" ItemName="_PrivateRoslynFeaturesHash" />
</GetFileHash>
<GetFileHash Files="$(PrivateRoslynLanguageServerProtocolDll)"
Algorithm="SHA256"
Condition="Exists('$(PrivateRoslynLanguageServerProtocolDll)')">
<Output TaskParameter="Items" ItemName="_PrivateRoslynLanguageServerProtocolHash" />
</GetFileHash>
<Error Condition="Exists('$(PrivateRoslynServerDll)') and '@(_PrivateRoslynServerHash->'%(FileHash)')' != '$(PrivateRoslynServerDllSha256)'"
Text="Private Roslyn Language Server DLL SHA-256 mismatch. Expected $(PrivateRoslynServerDllSha256), actual @(_PrivateRoslynServerHash->'%(FileHash)')." />
<Error Condition="Exists('$(PrivateRoslynFeaturesDll)') and '@(_PrivateRoslynFeaturesHash->'%(FileHash)')' != '$(PrivateRoslynFeaturesDllSha256)'"
Text="Private Roslyn Features DLL SHA-256 mismatch. Expected $(PrivateRoslynFeaturesDllSha256), actual @(_PrivateRoslynFeaturesHash->'%(FileHash)')." />
<Error Condition="Exists('$(PrivateRoslynLanguageServerProtocolDll)') and '@(_PrivateRoslynLanguageServerProtocolHash->'%(FileHash)')' != '$(PrivateRoslynLanguageServerProtocolDllSha256)'"
Text="Private Roslyn LanguageServer.Protocol DLL SHA-256 mismatch. Expected $(PrivateRoslynLanguageServerProtocolDllSha256), actual @(_PrivateRoslynLanguageServerProtocolHash->'%(FileHash)')." />
</Target>
</Project>