-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotNot.Bcl.Example.HelloConsole.csproj
More file actions
65 lines (55 loc) · 1.93 KB
/
NotNot.Bcl.Example.HelloConsole.csproj
File metadata and controls
65 lines (55 loc) · 1.93 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
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>
<!--shared common .csproj settings-->
<Import Project="..\..\CommonSettings.targets" />
<PropertyGroup>
<!--standard dotnet stuff-->
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<LangVersion>preview</LangVersion>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<RootNamespace></RootNamespace>
</PropertyGroup>
<ItemGroup>
<None Remove="appsettings.json" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</AdditionalFiles>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\nuget\NotNot.Bcl.Core\NotNot.Bcl.Core.csproj" />
<ProjectReference Include="..\..\nuget\NotNot.Bcl\NotNot.Bcl.csproj" />
</ItemGroup>
<Choose>
<!--only use project references when in Debug, otherwise use the nuget package references-->
<When Condition="'$(Configuration)'=='Debug'">
<ItemGroup>
<ProjectReference Include="..\..\nuget\NotNot.Bcl\NotNot.Bcl.csproj" />
</ItemGroup>
</When>
<When Condition="'$(Configuration)'=='DebugNuget'">
<ItemGroup>
<PackageReference Include="NotNot.Bcl" Version="0.0.0-0.localDebug" />
</ItemGroup>
<PropertyGroup>
<!--force nuget to restore without using cached packages, to ensure above wildcard always gets latest non-preview version in nuget-->
<RestoreNoCache>true</RestoreNoCache>
</PropertyGroup>
</When>
<Otherwise>
<ItemGroup>
<PackageReference Include="NotNot.Bcl" Version="*" />
</ItemGroup>
<PropertyGroup>
<!--force nuget to restore without using cached packages, to ensure above wildcard always gets latest non-preview version in nuget-->
<RestoreNoCache>true</RestoreNoCache>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>