Skip to content

Commit

Permalink
chore: Add root namespaces to projects (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mielek authored Nov 22, 2024
1 parent ee65b3f commit cf246a6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/Analyzers/Analyzers.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>.net8</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<PropertyGroup>
<TargetFramework>.net8</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<RootNamespace>Azure.ApiManagement.PolicyToolkit.Analyzers</RootNamespace>

<IsPackable>false</IsPackable>
</PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4"/>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2"/>
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions src/Authoring/Authoring.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<IncludeBuildOutput>true</IncludeBuildOutput>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<RootNamespace>Azure.ApiManagement.PolicyToolkit.Authoring</RootNamespace>

<TargetsForTfmSpecificContentInPackage>
$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput
Expand Down
1 change: 1 addition & 0 deletions src/Compiling/Compiling.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<TargetFramework>.net8</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Azure.ApiManagement.PolicyToolkit.Compiling</RootNamespace>

<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackAsTool>true</PackAsTool>
Expand Down
1 change: 1 addition & 0 deletions src/Testing/Testing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<IncludeBuildOutput>true</IncludeBuildOutput>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<SuppressDependenciesWhenPacking>false</SuppressDependenciesWhenPacking>
<RootNamespace>Azure.ApiManagement.PolicyToolkit.Testing</RootNamespace>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit cf246a6

Please sign in to comment.