-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
77 lines (62 loc) · 3.37 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
<Project ToolsVersion="15.0">
<PropertyGroup>
<RootNamespace>P42.NotifiableObject</RootNamespace>
<Version>1.0.2</Version>
<NoWarn>Uno0001;VSX1000;CA1416</NoWarn>
<GenerateLibraryLayout>true</GenerateLibraryLayout>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<!--
Force all projects of this folder to use a different output
path to avoid intermediate output collisions
-->
<BaseOutputPath>bin\$(MSBuildProjectName)</BaseOutputPath>
<BaseIntermediateOutputPath>obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<DefaultItemExcludes>$(DefaultItemExcludes);obj/**;bin/**</DefaultItemExcludes>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<DebugType>portable</DebugType>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Authors>Ben Askren</Authors>
<Company>4nd Parallel</Company>
<Description>.NET base classes that implement notifiable properties</Description>
<Copyright>2023 42nd Parallel, LLC</Copyright>
<PackageProjectUrl>https://github.com/baskren/P42.NotifiableObject</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/baskren/P42.NotifiableObject</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>Initial Release</PackageReleaseNotes>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>P42.icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<None Include="P42.icon.png" Pack="true" PackagePath="\" />
<None Include="README.md" Pack="true" PackagePath="\" />
<None Include="LICENSE" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
</ItemGroup>
<Target Name="B1" BeforeTargets="BeforeBuild">
<Message Text=" " Importance="high"/>
<Message Text=" " Importance="high"/>
<Message Text=" " Importance="high"/>
<Message Text="=============================== [ $(AssemblyName) : $(TargetFramework) ] ===============================" Importance="high"/>
</Target>
<Target Name="NuGetMove" AfterTargets="Pack" Condition=" $(LocalNuGet) != '' ">
<Message Text=" " Importance="high"/>
<Message Text=" " Importance="high"/>
<Message Text=" " Importance="high"/>
<Message Text="=============================== NUGET PACK [$(AssemblyName)] ===============================" Importance="high"/>
<Message Importance="high" Text="NuGetPath= $([System.IO.Path]::Combine('.',bin,$(AssemblyName),$(Configuration),$(AssemblyName).$(Version).nupkg)) "/>
<Copy SourceFiles="$([System.IO.Path]::Combine('.',bin,$(AssemblyName),$(Configuration),$(AssemblyName).$(Version).nupkg))" DestinationFolder=" $(LocalNuGet) " />
<Copy SourceFiles="$([System.IO.Path]::Combine('.',bin,$(AssemblyName),$(Configuration),$(AssemblyName).$(Version).snupkg))" DestinationFolder=" $(LocalNuGet) " />
<Message Importance="high" Text="PACKAGE SAVED TO: $(LocalNuGet)) " />
</Target>
</Project>