-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
82 lines (71 loc) · 3.43 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<!-- <AssemblyOriginatorKeyFile>$(SolutionDir)strongname.snk</AssemblyOriginatorKeyFile>-->
<RepositoryUrl>https://github.com/mtscope/devpod</RepositoryUrl>
<PackageProjectUrl>https://github.com/mtscope/devpod</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<ReportAnalyzer>true</ReportAnalyzer>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<LangVersion>latest</LangVersion>
<AnalysisLevel>latest</AnalysisLevel>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<IncludeSymbols>true</IncludeSymbols>
<PackagePath>;</PackagePath>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<TargetFramework>net9.0</TargetFramework>
<PackageVersion>1.0.0</PackageVersion>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU</Platforms>
<EnableDefaultContentItems>false</EnableDefaultContentItems>
<IncludeBuildOutput>false</IncludeBuildOutput>
<IsTestProject>false</IsTestProject>
<IsPublishable>false</IsPublishable>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<Optimize>false</Optimize>
<DefineConstants>TRACE;</DefineConstants>
<OutputPath>bin\Debug/</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<Optimize>true</Optimize>
<DefineConstants>TRACE;</DefineConstants>
<OutputPath>bin\Release/</OutputPath>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<RestoreLockedMode>true</RestoreLockedMode>
</PropertyGroup>
<PropertyGroup Condition=" '$(EnvironmentName)' != '' ">
<EnvironmentName>$(EnvironmentName)</EnvironmentName>
<ASPNETCORE_ENVIRONMENT>$(EnvironmentName)</ASPNETCORE_ENVIRONMENT>
</PropertyGroup>
<Choose>
<When Condition=" '$(PackageVersion)' != '' ">
<PropertyGroup>
<PackageVersion>$(PackageVersion)</PackageVersion>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<PackageVersion>1.0.0</PackageVersion>
</PropertyGroup>
</Otherwise>
</Choose>
<PropertyGroup>
<NoWarn>$(NoWarn);NU5017;NU5128;</NoWarn>
</PropertyGroup>
<PropertyGroup>
<IsLinuxX64 Condition="$([MSBuild]::IsOsPlatform('Linux')) And $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == X64">true</IsLinuxX64>
<IsMacOsx64 Condition="$([MSBuild]::IsOsPlatform('OSX')) And $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == Arm64">true</IsMacOsx64>
<IsMacOsArm64 Condition="$([MSBuild]::IsOsPlatform('OSX')) And $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == Arm64">true</IsMacOsArm64>
<IsWindowsX64 Condition="$([MSBuild]::IsOsPlatform('Windows')) And $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == X64">true</IsWindowsX64>
</PropertyGroup>
</Project>