forked from loafle/openapi-generator-original
Fix csproj to use framework 4.5 instead of 4.5.2 and fix project file option description
This commit is contained in:
parent
277e7cfa8d
commit
9edbfd6918
@ -63,7 +63,7 @@ public class CodegenConstants {
|
|||||||
public static final String OPTIONAL_ASSEMBLY_INFO_DESC = "Generate AssemblyInfo.cs (Default: true).";
|
public static final String OPTIONAL_ASSEMBLY_INFO_DESC = "Generate AssemblyInfo.cs (Default: true).";
|
||||||
|
|
||||||
public static final String OPTIONAL_PROJECT_FILE = "optionalProjectFile";
|
public static final String OPTIONAL_PROJECT_FILE = "optionalProjectFile";
|
||||||
public static final String OPTIONAL_PROJECT_FILE_DESC = "Generate {PackageName}.csproj (Default: true).";
|
public static final String OPTIONAL_PROJECT_FILE_DESC = "Generate {PackageName}.csproj (Default: false).";
|
||||||
|
|
||||||
public static final String OPTIONAL_PROJECT_GUID = "packageGuid";
|
public static final String OPTIONAL_PROJECT_GUID = "packageGuid";
|
||||||
public static final String OPTIONAL_PROJECT_GUID_DESC = "The GUID that will be associated with the C# project";
|
public static final String OPTIONAL_PROJECT_GUID_DESC = "The GUID that will be associated with the C# project";
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>{{packageTitle}}</RootNamespace>
|
<RootNamespace>{{packageTitle}}</RootNamespace>
|
||||||
<AssemblyName>{{packageTitle}}</AssemblyName>
|
<AssemblyName>{{packageTitle}}</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user