-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSmdn.MSBuild.ProjectAssets.Library.csproj
More file actions
66 lines (54 loc) · 3.37 KB
/
Smdn.MSBuild.ProjectAssets.Library.csproj
File metadata and controls
66 lines (54 loc) · 3.37 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
66
<!--
SPDX-FileCopyrightText: 2022 smdn <smdn@smdn.jp>
SPDX-License-Identifier: MIT
-->
<Project Sdk="Microsoft.Build.NoTargets">
<Import Project="$(MSBuildThisFileDirectory)..\..\eng\ProjectSettings.NoAssemblies.props" />
<PropertyGroup>
<VersionPrefix>1.14.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<DevelopmentDependency>true</DevelopmentDependency>
<PackageType>Dependency;MSBuildSdk</PackageType>
</PropertyGroup>
<PropertyGroup Label="assembly attributes">
<Description>Provides MSBuild project SDK that includes configurations commonly used by the library projects.</Description>
<CopyrightYear>2022</CopyrightYear>
</PropertyGroup>
<PropertyGroup Label="package properties">
<PackageTags>MSBuild;MSBuildSDK;project-assets;build-assets</PackageTags>
<GenerateNupkgReadmeFileDependsOnTargets>$(GenerateNupkgReadmeFileDependsOnTargets);GenerateReadmeFileContent</GenerateNupkgReadmeFileDependsOnTargets>
</PropertyGroup>
<ItemGroup>
<None Include="assets\**" Pack="false" Visible="true" />
<None Include="project\**" Pack="false" Visible="true" />
<None Include="Sdk\**" Pack="false" Visible="true" />
<None Include="assets\src\include.editorconfig" Pack="true" PackagePath="assets\src\.editorconfig" />
<None Include="assets\tests\include.editorconfig" Pack="true" PackagePath="assets\tests\.editorconfig" />
<None Include="project\*.props" Pack="true" PackagePath="project\" />
<None Include="project\*.targets" Pack="true" PackagePath="project\" />
<None Include="project\NUnit.Analyzers.ruleset" Pack="true" PackagePath="project\" />
<None Include="project\StyleCop.Analyzers.ruleset" Pack="true" PackagePath="project\" />
<None Include="project\stylecop.json" Pack="true" PackagePath="project\" />
<None Include="project\TestReport.template.liquid.md" Pack="true" PackagePath="project\" />
<None Include="Sdk\Sdk.props" Pack="true" PackagePath="Sdk\" />
<None Include="Sdk\Sdk.targets" Pack="true" PackagePath="Sdk\" />
</ItemGroup>
<Target Name="GenerateReadmeFileContent">
<PropertyGroup>
<PackageReadmeFileContent>< and includes the following files:
- MSBuild files (`.props` and `.targets`)
- Default configuration (items and properties) for library projects
- Default configuration for code analyzers
- Tools and MSBuild tasks for building, testing and packaging
- Other asset files
- Default .editorconfig (including analyzer rule settings)
See [GitHub repository]($(RepositoryUrl)/tree/$(RepositoryBranch)/src/$(PackageId)/) for detail.
**Note that the package [Smdn.MSBuild.ProjectAssets.Common](https://www.nuget.org/packages/Smdn.MSBuild.ProjectAssets.Common) must also be imported in order to use this package.**
Starting with version 1.11.0, `Smdn.MSBuild.ProjectAssets.Common` will be implicitly imported when you import this package as a MSBuild project SDK.
If you use older versions, or import props/targets files individually, you must explicitly import `Smdn.MSBuild.ProjectAssets.Common` as well.
]]></PackageReadmeFileContent>
</PropertyGroup>
</Target>
</Project>