Skip to content

Commit 0d30491

Browse files
committed
Update Worker template for Worker SDK
1 parent a2c8a34 commit 0d30491

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ProjectTemplates/Web.ProjectTemplates/Worker-CSharp.csproj.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Worker">
22

33
<PropertyGroup>
44
<TargetFramework>netcoreapp3.0</TargetFramework>
5-
<OutputType>Exe</OutputType>
5+
<UserSecretsId>dotnet-Company.Application1-53bc9b9d-9d6a-45d4-8429-2a2761773502</UserSecretsId>
6+
<ServerGarbageCollection>true</ServerGarbageCollection>
67
<NoDefaultLaunchSettingsFile Condition="'$(ExcludeLaunchSettings)' == 'True'">True</NoDefaultLaunchSettingsFile>
78
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Company.Application1</RootNamespace>
89
</PropertyGroup>

0 commit comments

Comments
 (0)