forked from southworks/BotFramework-FunctionalTests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
57 lines (47 loc) · 2.09 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
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)BotFramework-FunctionalTests.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<!-- This applies for SDK-style projects only-->
<Import Project="PackageReferences.props" Condition="'$(UsingMicrosoftNETSdk)' == 'true'"/>
<PropertyGroup>
<Company>Microsoft</Company>
<!-- Rules found at: https://aka.ms/Microsoft-NuGet-Compliance -->
<!-- Per rules,this must be *EXACTLY* "Microsoft. Otherwise Nuget.org will reject the packages." -->
<Authors>Microsoft</Authors>
<Product>Microsoft Bot Framework SDK Functional Tests</Product>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
</PropertyGroup>
<PropertyGroup>
<RepositoryUrl>https://github.com/microsoft/BotFramework-FunctionalTests</RepositoryUrl>
<LicenseUrl>https://github.com/microsoft/BotFramework-FunctionalTests/blob/main/LICENSE</LicenseUrl>
<RepositoryType />
<NeutralLanguage>en-US</NeutralLanguage>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<PropertyGroup>
<BotBuilderVersion Condition="'$(BotBuilderVersion)' == ''">4.15.0</BotBuilderVersion>
<BotBuilderVersion Condition="'$(BotBuilderVersion)' != ''">$(BotBuilderVersion)</BotBuilderVersion>
<RestoreAdditionalProjectSources>$(BotBuilderRegistry)</RestoreAdditionalProjectSources>
</PropertyGroup>
<Choose>
<When Condition="$(BotBuilderVersion.Contains('daily'))">
<PropertyGroup>
<BotBuilderVersionPreview>$(BotBuilderVersion.Replace('daily', 'daily.preview'))</BotBuilderVersionPreview>
</PropertyGroup>
</When>
<When Condition="$(BotBuilderVersion.Contains('rc'))">
<PropertyGroup>
<BotBuilderVersionPreview>$(BotBuilderVersion).preview</BotBuilderVersionPreview>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<BotBuilderVersionPreview>$(BotBuilderVersion)-preview</BotBuilderVersionPreview>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>