Skip to content

Commit

Permalink
Added System.Composition.Hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tum4ik committed Jan 24, 2024
1 parent 6e5e60b commit 49bd3ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Tum4ik.StinimGen/IIGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ internal sealed partial class IIGenerator : IIncrementalGenerator
public void Initialize(IncrementalGeneratorInitializationContext context)
{
//System.Diagnostics.Debugger.Launch();

var interfacesProvider = context.SyntaxProvider.ForAttributeWithMetadataName(
s_iiForAttributeFullName,
static (node, _) => node is InterfaceDeclarationSyntax interfaceDeclaration
Expand Down
4 changes: 2 additions & 2 deletions Tum4ik.StinimGen/Tum4ik.StinimGen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
<!--<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />-->
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.8.0" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.8.0" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="System.Composition.Hosting" Version="7.0.0" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="System.Composition.TypedParts" Version="7.0.0" PrivateAssets="all" GeneratePathProperty="true" />
</ItemGroup>

<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="$(PkgMicrosoft_CodeAnalysis_CSharp_Workspaces)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />-->
<None Include="$(PkgMicrosoft_CodeAnalysis_Workspaces_Common)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Include="$(PkgSystem_Composition_Hosting)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Include="$(PkgSystem_Composition_TypedParts)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Include="..\Tum4ik.StinimGen.Attributes\$(OutputPath)\Tum4ik.StinimGen.Attributes.dll" Pack="true" PackagePath="lib/netstandard2.0" />
<None Include="..\Tum4ik.StinimGen.Attributes\$(OutputPath)\Tum4ik.StinimGen.Attributes.pdb" Pack="true" PackagePath="lib/netstandard2.0" />
Expand Down

0 comments on commit 49bd3ef

Please sign in to comment.