Skip to content

Commit

Permalink
Library dependency must not generate an executable.
Browse files Browse the repository at this point in the history
If an executable is generated, then dotnet publish fails with an arcane error message.
See dotnet/sdk#2682.
  • Loading branch information
harrisaoz committed May 22, 2019
1 parent 49efbc4 commit b5fc54f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Config/Config.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp2.2</TargetFramework>
<RootNamespace>Config</RootNamespace>
<Platforms>x64</Platforms>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<ApplicationIcon />
<OutputType>Exe</OutputType>
<StartupObject>Config.GenerateConfig</StartupObject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
Expand Down

0 comments on commit b5fc54f

Please sign in to comment.