WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit d4ff671

Browse files
authored
Ensuring Dapr.Jobs.Analyzers package is deployed (#1624)
* Marking Dapr.Jobs.Analyzers package as packable so it deploys as expected * Updated documentation to reflect new Dapr.Jobs.Analyzers package * Removed unnecessary properties from SDK file * Renamed the directory the Dapr.Jobs.Analyzers project is in for solution consistency * Fixed project reference path in Dapr.Jobs.Analyzers test project --------- Signed-off-by: Whit Waldo <[email protected]>
1 parent 9b3f983 commit d4ff671

File tree

10 files changed

+7
-18
lines changed

10 files changed

+7
-18
lines changed

all.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dapr.Workflow.Analyzers", "
155155
EndProject
156156
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dapr.Workflow.Analyzers.Test", "test\Dapr.Workflow.Analyzers.Test\Dapr.Workflow.Analyzers.Test.csproj", "{CE0D5FEB-F6DB-4EB8-B8A9-6A4A32944539}"
157157
EndProject
158-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dapr.Jobs.Analyzers", "src\Dapr.Jobs.Analyzer\Dapr.Jobs.Analyzers.csproj", "{28B87C37-4B52-400F-B84D-64F134931BDC}"
158+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dapr.Jobs.Analyzers", "src\Dapr.Jobs.Analyzers\Dapr.Jobs.Analyzers.csproj", "{28B87C37-4B52-400F-B84D-64F134931BDC}"
159159
EndProject
160160
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dapr.Jobs.Analyzers.Test", "test\Dapr.Jobs.Analyzer.Test\Dapr.Jobs.Analyzers.Test.csproj", "{CADEAE45-8981-4723-B641-9C28251C7D3B}"
161161
EndProject

daprdocs/content/en/dotnet-sdk-docs/_index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ Put the Dapr .NET SDK to the test. Walk through the .NET quickstarts and tutoria
4848
| [Dapr.AspNetCore](https://www.nuget.org/packages/Dapr.AspNetCore) | [Documentation]({{% ref dotnet-server %}}) | Write servers and services in .NET using the Dapr SDK. Includes support and utilities providing richer integration with ASP.NET Core. |
4949
| [Dapr.Actors](https://www.nuget.org/packages/Dapr.Actors) | [Documentation]({{% ref dotnet-actors %}}) | Create virtual actors with state, reminders/timers, and methods. |
5050
| [Dapr.Actors.AspNetCore](https://www.nuget.org/packages/Dapr.Actors) | [Documentation]({{% ref dotnet-actors %}}) | Create virtual actors with state, reminders/timers, and methods with rich integration with ASP.NET Core. |
51-
| [Dapr.Actors.Analyzers](https://www.nuget.org/packages/Dapr.Actors.Analyzers) | [Documentation]({{% ref dotnet-guidance-source-generators %}}) | A collection of Roslyn source generators and analyzers for enabling better practices and preventing common errors when using Dapr Actors in .NET |
51+
| [Dapr.Actors.Analyzers](https://www.nuget.org/packages/Dapr.Actors.Analyzers) | [Documentation]({{% ref dotnet-guidance-source-generators %}}) | A collection of Roslyn source generators and analyzers for enabling better practices and preventing common errors when using Dapr Actors in .NET. |
5252
| [Dapr.Cryptography](https://www.nuget.org/packages/Dapr.Cryptography) | [Documentation]({{% dotnet-cryptography %}}) | Encrypt and decrypt streaming state of any size using Dapr's cryptography building block. |
5353
| [Dapr.Jobs](https://www.nuget.org/packages/Dapr.Jobs) | [Documentation]({{% ref dotnet-jobs %}}) | Create and manage the scheduling and orchestration of jobs. |
54+
| [Dapr.Jobs.Analyzers](https://www.nuget.org/packages/Dapr.Jobs.Analyzers) | [Documentation]({{% ref dotnet-guidance-source-generators %}}) | A collection of Roslyn source generators and analyzers for enabling better practices and preventing common errors when using Dapr Jobs in .NET. |
5455
| [Dapr.DistributedLocks](https://www.nuget.org/packages/Dapr.DistributedLocks) | [Documentation]({{% ref dotnet-distributed-lock %}}) | Create and manage distributed locks for managing exclusive resource access. |
5556
| [Dapr.Extensions.Configuration](https://www.nuget.org/packages/Dapr.Extensions.Configuration) | | Dapr secret store configuration provider implementation for `Microsoft.Extensions.Configuration`. |
56-
| [Dapr.PluggableComponents](https://www.nuget.org/packages/Dapr.PluggableComponents) | | Used to implement pluggable components with Dapr using .NET. |
57+
| [Dapr.PluggableComponents](https://www.nuget.org/packages/Dapr.PluggableComponents) | | Used to implement pluggable components with Dapr using .NET. |
5758
| [Dapr.PluggableComponents.AspNetCore](https://www.nuget.org/packages/Dapr.PluggableComponents.AspNetCore) | | Implement pluggable components with Dapr using .NET with rich ASP.NET Core support. |
5859
| [Dapr.PluggableComponents.Protos](https://www.nuget.org/packages/Dapr.PluggableComponents.Protos) | | **Note:** Developers needn't install this package directly in their applications. |
5960
| [Dapr.Messaging](https://www.nuget.org/packages/Dapr.Messaging) | [Documentation]({{% ref dotnet-messaging %}}) | Build distributed applications using the Dapr Messaging SDK that utilize messaging components like streaming pub/sub subscriptions. |
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/Dapr.Jobs.Analyzer/Dapr.Jobs.Analyzers.csproj renamed to src/Dapr.Jobs.Analyzers/Dapr.Jobs.Analyzers.csproj

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<TargetFrameworks></TargetFrameworks>
6-
<IsPackable>false</IsPackable>
76
<ImplicitUsings>enable</ImplicitUsings>
87
<Nullable>enable</Nullable>
8+
<Description>This package contains Roslyn analyers for Dapr.Jobs</Description>
99
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
1010
<NoWarn>$(NoWarn);RS1038</NoWarn>
11-
<Description>This package contains Roslyn analyers for Dapr.Jobs</Description>
1211
</PropertyGroup>
1312

1413
<ItemGroup>
@@ -34,16 +33,5 @@
3433
<DependentUpon>Resources.resx</DependentUpon>
3534
</Compile>
3635
</ItemGroup>
37-
38-
<PropertyGroup>
39-
<!-- Suppress false-positive error NU5128 when packing analyzers with no lib/ref files. -->
40-
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
41-
42-
<!-- Suppress generation of symbol package (.snupkg). -->
43-
<IncludeSymbols>false</IncludeSymbols>
44-
45-
<!-- Additional NuGet package properties. -->
46-
<Description>This package contains Roslyn analyzers for jobs.</Description>
47-
<PackageTags>$(PackageTags)</PackageTags>
48-
</PropertyGroup>
36+
4937
</Project>
File renamed without changes.

test/Dapr.Jobs.Analyzer.Test/Dapr.Jobs.Analyzers.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
</ItemGroup>
2525

2626
<ItemGroup>
27+
<ProjectReference Include="..\..\src\Dapr.Jobs.Analyzers\Dapr.Jobs.Analyzers.csproj" />
2728
<ProjectReference Include="..\..\src\Dapr.Jobs\Dapr.Jobs.csproj" />
28-
<ProjectReference Include="..\..\src\Dapr.Jobs.Analyzer\Dapr.Jobs.Analyzers.csproj" />
2929
<ProjectReference Include="..\Dapr.Analyzers.Common\Dapr.Analyzers.Common.csproj" />
3030
</ItemGroup>
3131

0 commit comments

Comments
 (0)