Add support for 'file-scoped' namespaces (#32)

* 008

* n

* da
This commit is contained in:
Stef Heyenrath
2022-05-07 09:33:15 +02:00
committed by GitHub
parent 15547b9498
commit 23e9f80832
10 changed files with 116 additions and 50 deletions
@@ -25,6 +25,7 @@
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)Generated</CompilerGeneratedFilesOutputPath>
<DevelopmentDependency>true</DevelopmentDependency>
<ImplicitUsings>enable</ImplicitUsings>
<Configurations>Debug;Release;DebugAttach</Configurations>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
@@ -37,12 +38,12 @@
<ItemGroup>
<!--<PackageReference Include="AutoMapper" Version="10.1.1" />-->
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2">
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="3.10.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.10.0" PrivateAssets="all" />
<!--<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="3.10.0" PrivateAssets="all" />-->
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.1.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
@@ -57,8 +58,10 @@
</ItemGroup>
<ItemGroup>
<None Remove="bin\Debug\netstandard2.0\\ProxyInterfaceGenerator.dll" />
<None Remove="bin\Release\netstandard2.0\\ProxyInterfaceGenerator.dll" />
<None Remove="bin\Release\netstandard2.0\\ProxyInterfaceSourceGenerator.dll" />
</ItemGroup>
<ItemGroup>
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>