-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
29 lines (28 loc) · 1.5 KB
/
Copy pathDirectory.Build.props
File metadata and controls
29 lines (28 loc) · 1.5 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
<Project>
<!--
Global build properties for all projects in the solution.
This file is automatically imported by all .csproj files.
-->
<PropertyGroup>
<!-- Enable C# preview features (null conditional assignment, field keyword, etc.) -->
<LangVersion>preview</LangVersion>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionSuffix>beta</VersionSuffix>
<Version>0.1.0-beta</Version>
<PackageVersion>0.1.0-beta</PackageVersion>
<InformationalVersion>0.1.0-beta</InformationalVersion>
<AssemblyVersion>0.1.0.0</AssemblyVersion>
<FileVersion>0.1.0.0</FileVersion>
<!-- Use system protoc on Apple Silicon (ARM64) to avoid "Bad CPU type" error -->
<!-- This works for macOS with Homebrew-installed protoc -->
<Protobuf_Protoc Condition="'$(OS)' == 'Unix' And Exists('/opt/homebrew/bin/protoc')">/opt/homebrew/bin/protoc</Protobuf_Protoc>
<!-- Fallback for Linux or other Unix systems with protoc in standard locations -->
<Protobuf_Protoc Condition="'$(OS)' == 'Unix' And '$(Protobuf_Protoc)' == '' And Exists('/usr/local/bin/protoc')">/usr/local/bin/protoc</Protobuf_Protoc>
<Protobuf_Protoc Condition="'$(OS)' == 'Unix' And '$(Protobuf_Protoc)' == '' And Exists('/usr/bin/protoc')">/usr/bin/protoc</Protobuf_Protoc>
</PropertyGroup>
<ItemGroup Condition="'$(IsTestProject)' == 'true'">
<None Include="$(MSBuildThisFileDirectory)test/xunit.runner.json"
Link="xunit.runner.json"
CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>