Skip to content

Commit

Permalink
tweak nuget package
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Sep 7, 2024
1 parent 3c426a0 commit 6831417
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/Injectio.Attributes/Injectio.Attributes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<None Include="..\Injectio.Generators\bin\$(Configuration)\netstandard2.0\Injectio.Generators.dll" PackagePath="analyzers\dotnet\roslyn4.3\cs" Pack="true" Visible="false" />
<None Include="..\Injectio.Generators\bin\$(Configuration)\netstandard2.0\Injectio.Generators.props" PackagePath="analyzers\dotnet\roslyn4.3\cs" Pack="true" Visible="false" />
<None Include="..\Injectio.Generators\bin\$(Configuration)\netstandard2.0\Injectio.Generators.dll" PackagePath="analyzers\dotnet\roslyn4.4\cs" Pack="true" Visible="false" />
<None Include="..\Injectio.Generators\Injectio.targets" PackagePath="build" Pack="true" Visible="false" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions src/Injectio.Generators/Injectio.Generators.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
<DevelopmentDependency>true</DevelopmentDependency>
<IsPackable>false</IsPackable>
<AnalyzerLanguage>cs</AnalyzerLanguage>
<AnalyzerRoslynVersion>4.3</AnalyzerRoslynVersion>
<AnalyzerRoslynVersion>4.4</AnalyzerRoslynVersion>
<LangVersion>latest</LangVersion>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="[4.3.1]" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="[4.4.0]" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<None Update="Injectio.Generators.props">
<None Update="Injectio.targets">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
5 changes: 0 additions & 5 deletions src/Injectio.Generators/Injectio.Generators.props

This file was deleted.

6 changes: 6 additions & 0 deletions src/Injectio.Generators/Injectio.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<ItemGroup>
<CompilerVisibleProperty Include="InjectioName" />
<PackageReference Update="Injectio" PrivateAssets="all" PackTransitive="false" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion tests/Injectio.Tests/Injectio.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="[4.3.1]" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="[4.4.0]" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 6831417

Please sign in to comment.