Publish only .NET service files

This commit is contained in:
David Wengier 2024-04-05 17:11:55 +11:00
Родитель c68a6bdbc7
Коммит 4f88389e46
2 изменённых файлов: 0 добавлений и 22 удалений

Просмотреть файл

@ -8,28 +8,9 @@
<Target Name="CalculateServiceHubConfigurationFiles">
<ItemGroup>
<_ServicesWithSuffix Include="@(ServiceHubService)" FileSuffix="64" HostIdSuffix="" />
<_ServicesWithSuffix Include="@(ServiceHubService)" FileSuffix="64S" HostIdSuffix="S" />
<_CoreServicesWithSuffix Include="@(ServiceHubService)" FileSuffix="Core64" HostIdSuffix="" />
<_CoreServicesWithSuffix Include="@(ServiceHubService)" FileSuffix="Core64S" HostIdSuffix="S" />
<ServiceHubServiceJsonFile Include="$(IntermediateOutputPath)%(_ServicesWithSuffix.Identity)%(_ServicesWithSuffix.FileSuffix).servicehub.service.json" >
<Content>
<![CDATA[{
"host": "netfx.anycpu",
"hostId": "RoslynCodeAnalysisService%(_ServicesWithSuffix.HostIdSuffix)",
"hostGroupAllowed": true,
"entryPoint": {
"assemblyPath": "Microsoft.CodeAnalysis.Remote.Razor.dll",
"fullClassName": "%(_ServicesWithSuffix.ClassName)",
"appBasePath": "%VSAPPIDDIR%",
"configPath": "%PkgDefApplicationConfigFile%"
}
}
]]>
</Content>
</ServiceHubServiceJsonFile>
<ServiceHubServiceJsonFile Include="$(IntermediateOutputPath)$(ServiceHubCoreSubPath)\%(_CoreServicesWithSuffix.Identity)%(_CoreServicesWithSuffix.FileSuffix).servicehub.service.json" >
<Content>
<![CDATA[{

Просмотреть файл

@ -3,9 +3,6 @@
<Project>
<Target Name="GeneratePkgDefServiceRegistrations" BeforeTargets="GenerateBrokeredServicesPkgDef">
<ItemGroup>
<PkgDefBrokeredService Include="@(ServiceHubService->'%(Identity)')" />
<PkgDefBrokeredService Include="@(ServiceHubService->'%(Identity)64')" />
<PkgDefBrokeredService Include="@(ServiceHubService->'%(Identity)64S')" />
<PkgDefBrokeredService Include="@(ServiceHubService->'%(Identity)Core64')" SubFolder="$(ServiceHubCoreSubPath)" />
<PkgDefBrokeredService Include="@(ServiceHubService->'%(Identity)Core64S')" SubFolder="$(ServiceHubCoreSubPath)" />
</ItemGroup>