-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathThisAssembly.Tests.csproj
More file actions
121 lines (108 loc) · 5.66 KB
/
ThisAssembly.Tests.csproj
File metadata and controls
121 lines (108 loc) · 5.66 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFramework>net8.0</TargetFramework>
<ThisAssemblyNamespace>ThisAssemblyTests</ThisAssemblyNamespace>
<ThisAssemblyVisibility>public</ThisAssemblyVisibility>
<!-- Showcase we don't require the built-in assembly info generation -->
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Multiline>
A Description
with a newline and
* Some "things" with quotes
// Some comments too.
</Multiline>
<Description>A Description
with a newline and
* Some "things" with quotes
// Some comments too.</Description>
<TargetFramework Condition="'$(BuildingInsideVisualStudio)' == 'true'">net472</TargetFramework>
<RootNamespace>ThisAssemblyTests</RootNamespace>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<NoWarn>CS0618;CS8981;TA100;$(NoWarn)</NoWarn>
<PackageScribanIncludeSource>false</PackageScribanIncludeSource>
<ProjectFile>$([System.IO.File]::ReadAllText($(MSBuildProjectFullPath)))</ProjectFile>
<ProjectFileComment>$(ProjectFile)</ProjectFileComment>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<WarningsAsErrors>true</WarningsAsErrors>
<RuntimeIdentifiers>win-x64;linux-x86</RuntimeIdentifiers>
<ILRepack>false</ILRepack>
</PropertyGroup>
<Import Project="..\*\ThisAssembly*.props" />
<ItemGroup>
<Compile Remove="..\*.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ThisAssembly.AssemblyInfo\ThisAssembly.AssemblyInfo.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\ThisAssembly.Constants\ThisAssembly.Constants.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\ThisAssembly.Metadata\ThisAssembly.Metadata.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\ThisAssembly.Project\ThisAssembly.Project.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\ThisAssembly.Resources\ThisAssembly.Resources.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\ThisAssembly.Strings\ThisAssembly.Strings.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="PolySharp" Version="1.15.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.0.1" Pack="false" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
<PackageReference Include="Scriban" Version="6.5.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources.es.resx" Generator="" CopyToOutputDirectory="PreserveNewest" />
<EmbeddedResource Update="Resources.resx" Generator="" CopyToOutputDirectory="PreserveNewest" />
<EmbeddedResource Include="Content/Styles/Custom.css" Kind="Text" Comment="Secondary CSS" />
<EmbeddedResource Include="Content/Styles/Main.css" Comment="Primary CSS" />
<EmbeddedResource Include="Content/Docs/*" />
<EmbeddedResource Include="Content/Swagger/*" />
<EmbeddedResource Include="webhook-data.json" Kind="text" />
</ItemGroup>
<PropertyGroup>
<Foo>Bar</Foo>
</PropertyGroup>
<ItemGroup>
<ProjectProperty Include="Foo" />
<ProjectProperty Include="Foo" />
<ProjectProperty Include="Description" />
<ProjectProperty Include="Multiline" />
<ProjectProperty Include="ProjectFileComment" Comment="Full project contents" />
<ProjectProperty Include="ProjectFile" />
<Constant Include="Foo.Raw" Value="$(Multiline)" Comment="$(Multiline)" />
<Constant Include="Foo.Bar" Value="Baz" Comment="Yay!" />
<Constant Include="Foo.Hello" Value="World" Comment="Comments make everything better 😍" />
<Constant Include="WithSemiColon" Value="A;B;C" />
<FileConstant Include="@(None)" />
<FileConstant Update="@(FileConstant -> WithMetadataValue('Filename', 'Readme'))">
<Link>Included/%(Filename)%(Extension)</Link>
</FileConstant>
<AssemblyMetadata Include="Foo" Value="Bar" />
<AssemblyMetadata Include="Raw" Value="$(Multiline)" />
<AssemblyMetadata Include="Root.Foo.Bar" Value="Baz" Comment="Comment" />
<Constant Include="TypedInt" Value="123" Type="int" />
<Constant Include="TypedInt64" Value="123" Type="Int64" />
<Constant Include="TypedLong" Value="123" Type="long" />
<Constant Include="TypedDouble" Value="1.23" Type="double" />
<Constant Include="TypedBoolean" Value="true" Type="bool" />
<!-- Since use use ThisAssemblyVisibility=public, this will turn into a static readonly prop with a lambda, so it works -->
<Constant Include="TypedTimeSpan" Value="TimeSpan.FromSeconds(5)" Type="TimeSpan" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\ThisAssembly.Strings\Model.cs" Link="Model.cs" />
</ItemGroup>
<Import Project="..\*\ThisAssembly*.targets" />
<!-- Force immediate reporting of status, no install-time grace period -->
<PropertyGroup>
<SponsorLinkNoInstallGrace>true</SponsorLinkNoInstallGrace>
</PropertyGroup>
<ItemGroup>
<CompilerVisibleProperty Include="SponsorLinkNoInstallGrace" />
</ItemGroup>
<!-- Simulate SL_CollectDependencies -->
<PropertyGroup>
<ThisAssembly>$(Version)</ThisAssembly>
</PropertyGroup>
<ItemGroup>
<CompilerVisibleProperty Include="ThisAssembly" />
</ItemGroup>
</Project>