Fix #if to match .csproj constant
This commit is contained in:
parent
ba68037ee6
commit
c382932ec4
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
||||||
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
|
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<RepositoryUrl>git://github.com/dotnet/cli</RepositoryUrl>
|
<RepositoryUrl>git://github.com/dotnet/cli</RepositoryUrl>
|
||||||
|
<DefineConstants Condition="'$(IncludeAspNetCoreRuntime)' == 'false'">$(DefineConstants);EXCLUDE_ASPNETCORE</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -9,7 +9,7 @@ namespace Microsoft.DotNet.Cli
|
||||||
{
|
{
|
||||||
public void GenerateAspNetCoreDevelopmentCertificate()
|
public void GenerateAspNetCoreDevelopmentCertificate()
|
||||||
{
|
{
|
||||||
#if !EXCLUDE_ASPNET
|
#if !EXCLUDE_ASPNETCORE
|
||||||
Microsoft.AspNetCore.DeveloperCertificates.XPlat.CertificateGenerator.GenerateAspNetHttpsCertificate();
|
Microsoft.AspNetCore.DeveloperCertificates.XPlat.CertificateGenerator.GenerateAspNetHttpsCertificate();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue