File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ private Process CreateWriter()
131
131
FileName = "less" ,
132
132
Arguments = ArgumentEscaper . EscapeAndConcatenate ( args ) ,
133
133
RedirectStandardInput = true ,
134
+ #if NET45
135
+ UseShellExecute = false ,
136
+ #endif
134
137
}
135
138
} ;
136
139
@@ -139,7 +142,7 @@ private Process CreateWriter()
139
142
process . Start ( ) ;
140
143
return process ;
141
144
}
142
- catch ( Win32Exception ex )
145
+ catch ( Exception ex )
143
146
{
144
147
if ( DotNetCliContext . IsGlobalVerbose ( ) )
145
148
{
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
- <VersionPrefix >2.3.0 </VersionPrefix >
4
- <VersionSuffix >rtm </VersionSuffix >
3
+ <VersionPrefix >2.3.1 </VersionPrefix >
4
+ <VersionSuffix >build </VersionSuffix >
5
5
<PackageVersion Condition =" '$(APPVEYOR_REPO_TAG)' == 'true' AND '$(VersionSuffix)' != ''" >$(VersionPrefix)-$(VersionSuffix)</PackageVersion >
6
6
<PackageVersion Condition =" '$(APPVEYOR_REPO_TAG)' == 'true' AND '$(VersionSuffix)' == 'rtm'" >$(VersionPrefix)</PackageVersion >
7
7
8
8
<BuildNumber Condition =" '$(BuildNumber)' == '' " >$(APPVEYOR_BUILD_NUMBER)</BuildNumber >
9
9
<BuildNumber Condition =" '$(BuildNumber)' == '' " >0</BuildNumber >
10
10
<FileVersion >$(VersionPrefix).$(BuildNumber)</FileVersion >
11
11
<VersionSuffix Condition =" '$(VersionSuffix)' != '' " >$(VersionSuffix).$(BuildNumber)</VersionSuffix >
12
+ <RepositoryCommit >$(APPVEYOR_REPO_COMMIT)</RepositoryCommit >
13
+ <InformationalVersion Condition =" '$(RepositoryCommit)' != ''" >$(PackageVersion)+$(RepositoryCommit)</InformationalVersion >
12
14
</PropertyGroup >
13
-
14
- <ItemGroup >
15
- <AssemblyAttribute Include =" System.Reflection.AssemblyMetadataAttribute" >
16
- <_Parameter1 >BuildNumber</_Parameter1 >
17
- <_Parameter2 >$(BuildNumber)</_Parameter2 >
18
- </AssemblyAttribute >
19
- </ItemGroup >
20
15
</Project >
You can’t perform that action at this time.
0 commit comments