-
Notifications
You must be signed in to change notification settings - Fork 172
/
dotnet-format.csproj
66 lines (52 loc) · 2.73 KB
/
dotnet-format.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NetCurrent)</TargetFramework>
<OutputType>Exe</OutputType>
<RootNamespace>Microsoft.CodeAnalysis.Tools</RootNamespace>
<ServerGarbageCollection>true</ServerGarbageCollection>
<Nullable>Enable</Nullable>
<NoWarn>$(NoWarn);8002</NoWarn>
<Description>Command line tool for formatting C# and Visual Basic code files based on .editorconfig settings.</Description>
<RollForward>LatestMajor</RollForward>
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<PackageIcon>Icon.png</PackageIcon>
<PackageIconFullPath>$(MSBuildThisFileDirectory)Resources\icon.png</PackageIconFullPath>
<!-- Copy nuget assemblies to build directory. -->
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<!--
These identifiers are for generating the shim'd core executables for signing. Not all options
from $(RoslynPortableRuntimeIdentifiers) work or make sense in this context.
-->
<PackAsToolShimRuntimeIdentifiers Condition=" '$(DotnetBuildFromSource)' != 'true' ">win-x64;win-x86;osx-x64</PackAsToolShimRuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build" ExcludeAssets="Runtime" PrivateAssets="All" />
<PackageReference Include="Microsoft.Build.Framework" ExcludeAssets="Runtime" PrivateAssets="All" />
<PackageReference Include="Microsoft.Build.Locator" />
<PackageReference Include="Microsoft.CodeAnalysis" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" />
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" />
<!-- Included with Microsoft.CodeAnalysis.dll for Razor support -->
<PackageReference Include="Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler" ExcludeAssets="compile" />
<!-- Loaded dynamically -->
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" />
<PackageReference Include="Microsoft.CodeAnalysis.Features" />
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.Features" />
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="System.CommandLine" />
<PackageReference Include="System.CommandLine.Rendering" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="dotnet-format.UnitTests" />
<InternalsVisibleTo Include="dotnet-format.PerformanceTests" />
</ItemGroup>
<ItemGroup>
<None Include="..\README.md" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources.resx" GenerateSource="true" />
</ItemGroup>
</Project>