-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathappSettingsEditorAPI.csproj
More file actions
70 lines (59 loc) · 2.96 KB
/
appSettingsEditorAPI.csproj
File metadata and controls
70 lines (59 loc) · 2.96 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<None Remove="appsettings.txt" />
<None Remove="Controller.txt" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Controller.txt" />
<EmbeddedResource Include="appsettings.txt" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.1" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" />
<PackageReference Include="System.Diagnostics.Debug" Version="4.3.0" />
<PackageReference Include="System.Text.Json" Version="8.0.4" GeneratePathProperty="true" />
<PackageReference Include="Scriban" Version="3.5.0" GeneratePathProperty="true"></PackageReference>
<PackageReference Include="ThisAssembly.AssemblyInfo" Version="1.0.8" PrivateAssets="all" ReferenceOutputAssembly="false" OutputItemType="Analyzer">
</PackageReference>
</ItemGroup>
<PropertyGroup>
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
</PropertyGroup>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<Target Name="GetDependencyTargetPaths">
<ItemGroup>
<TargetPathWithTargetPlatformMoniker Include="$(PKGSystem_Text_Json)\lib\netstandard2.0\System.Text.Json.dll" IncludeRuntimeDependency="false" />
<TargetPathWithTargetPlatformMoniker Include="$(PKGScriban)\lib\netstandard2.0\Scriban.dll" IncludeRuntimeDependency="false" />
</ItemGroup>
</Target>
<ItemGroup>
<!-- Package the generator in the analyzer directory of the nuget package -->
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Include="$(PkgScriban)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Include="$(PKGSystem_Text_Json)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>
<PropertyGroup>
<Description>
** C# 9.0 ONLY **
Autogenerates controller API for appsettings.json
Add 2 NUGET references:
appSettingEditorAPI
appSettingsEditor
Please see https://github.com/ignatandrei/appsettingseditor for more details
</Description>
<Version>2021.4.2.1059</Version>
<Authors>Andrei Ignat</Authors>
<PackageTags>RoslynCodeGenerators;C#;CSharp;appsettings</PackageTags>
<PackageProjectUrl>https://github.com/ignatandrei/appSettingsEditor</PackageProjectUrl>
<RepositoryUrl>https://github.com/ignatandrei/appSettingsEditor</RepositoryUrl>
<RepositoryType>GIT</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>MIT</Copyright>
</PropertyGroup>
</Project>