This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
XSCompiler.csproj
61 lines (60 loc) · 2.99 KB
/
XSCompiler.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
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<UseXSharpKey>true</UseXSharpKey>
</PropertyGroup>
<Import Project="$(Solutiondir)src\Compiler\CompilerCommon.props" />
<Import Project="$(RepositoryEngineeringDir)targets\GenerateCompilerExecutableBindingRedirects.targets" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<AssemblyName>XSCompiler</AssemblyName>
<LargeAddressAware>true</LargeAddressAware>
<DefineConstants Condition="'$(TargetFramework)' == 'net472'">$(DefineConstants)NET46;NET472</DefineConstants>
<DefineConstants>$(DefineConstants);XSHARP</DefineConstants>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ServerGarbageCollection>true</ServerGarbageCollection>
<!--Use the C# compiler created in this solution-->
<CSCToolExe>$(GeneratedCompilerPath)csc.exe</CSCToolExe>
<GenerateMicrosoftCodeAnalysisCommitHashAttribute>false</GenerateMicrosoftCodeAnalysisCommitHashAttribute>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup Label="Project References">
<ProjectReference Include="..\XSharpCodeAnalysis\XSharpCodeAnalysis.csproj" />
</ItemGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DefineConstants>$(DefineConstants);TRACE;DEBUG;XSHARP;COMMITHASH;NETCOREAPP</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Public|AnyCPU'">
<DefineConstants>$(DefineConstants);TRACE;XSHARP;COMMITHASH;</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DefineConstants>$(DefineConstants);XSHARP;COMMITHASH;</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.Configuration" Condition="'$(TargetFramework)' != 'netcoreapp3.1'" />
<PackageReference Include="System.IO.Pipes.AccessControl" Version="$(SystemIOPipesAccessControlVersion)" Condition="'$(TargetFramework)' == 'netcoreapp3.1'" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile>
<Compile Include="$(SharedSource)RuntimeHostInfo.cs" />
<Compile Include="$(SharedSource)NamedPipeUtil.cs" />
<Compile Include="$(SharedSource)BuildClient.cs" />
<Compile Include="$(SharedSource)BuildServerConnection.cs" />
<Compile Include="$(SharedSource)ExitingTraceListener.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(ServerSource)VBCSCompiler\**\*.cs">
<Link>Server\%(RecursiveDir)\%(Filename).%(Extension)</Link>
</Compile>
</ItemGroup>
<Import Project="$(CoreSource)..\CommandLine\CommandLine.projitems" Label="Shared" />
<Import Project="$(RepositoryEngineeringDir)targets\DiaSymReaderNative.targets" />
<PropertyGroup>
<PreBuildEvent>taskkill /f /t /fi "IMAGENAME eq XSCompiler.exe" > NUL</PreBuildEvent>
</PropertyGroup>
</Project>