Skip to content

Commit 8d31ad3

Browse files
authored
Merge pull request #19 from dmitryvhf/bug/issue-18
Issue #18 resolved; MultiSellEditor crash problem; update TargetFrame…
2 parents 9725694 + cd8e7f7 commit 8d31ad3

File tree

7 files changed

+65
-13
lines changed

7 files changed

+65
-13
lines changed

L2ScriptMaker/L2ScriptMaker.vbproj

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -23,7 +23,7 @@
2323
<OldToolsVersion>3.5</OldToolsVersion>
2424
<ApplicationManifest>My Project\app.manifest</ApplicationManifest>
2525
<OptionInfer>On</OptionInfer>
26-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
26+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
2727
<SignAssembly>false</SignAssembly>
2828
<AssemblyOriginatorKeyFile>
2929
</AssemblyOriginatorKeyFile>
@@ -44,6 +44,7 @@
4444
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
4545
<UseApplicationTrust>false</UseApplicationTrust>
4646
<BootstrapperEnabled>true</BootstrapperEnabled>
47+
<TargetFrameworkProfile />
4748
</PropertyGroup>
4849
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
4950
<DebugSymbols>true</DebugSymbols>
@@ -60,6 +61,7 @@
6061
<RunCodeAnalysis>false</RunCodeAnalysis>
6162
<WarningLevel>1</WarningLevel>
6263
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
64+
<Prefer32Bit>false</Prefer32Bit>
6365
</PropertyGroup>
6466
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
6567
<DebugType>None</DebugType>
@@ -73,6 +75,7 @@
7375
<DebugSymbols>false</DebugSymbols>
7476
<WarningLevel>1</WarningLevel>
7577
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
78+
<Prefer32Bit>false</Prefer32Bit>
7679
</PropertyGroup>
7780
<ItemGroup>
7881
<Reference Include="System">
@@ -946,6 +949,7 @@
946949
</EmbeddedResource>
947950
</ItemGroup>
948951
<ItemGroup>
952+
<None Include="app.config" />
949953
<None Include="My Project\Application.myapp">
950954
<Generator>MyApplicationCodeGenerator</Generator>
951955
<LastGenOutput>Application.Designer.vb</LastGenOutput>
@@ -999,7 +1003,7 @@
9991003
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" />
10001004
<ProjectExtensions>
10011005
<VisualStudio>
1002-
<UserProperties Reactor_Output="[output_dir]L2ScriptMaker_Secure\L2ScriptMaker.exe" Reactor_Project="" Reactor_Commands="" Reactor_Automatic="1" Reactor_Lib="0" Reactor_Enabled="0" />
1006+
<UserProperties Reactor_Enabled="0" Reactor_Lib="0" Reactor_Automatic="1" Reactor_Commands="" Reactor_Project="" Reactor_Output="[output_dir]L2ScriptMaker_Secure\L2ScriptMaker.exe" />
10031007
</VisualStudio>
10041008
</ProjectExtensions>
10051009
</Project>

L2ScriptMaker/L2ScriptMakerLibraries.vb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Public Class Libraries
99

1010
End Function
1111

12-
Shared Function GetCommentaryFromStr(ByVal SourceStr As String) As String
12+
Private Shared Function GetCommentaryFromStr(ByVal SourceStr As String) As String
1313

1414
GetCommentaryFromStr = Nothing
1515
Dim sTempCommentary As String = ""
@@ -21,6 +21,7 @@ Public Class Libraries
2121
Return GetCommentaryFromStr
2222

2323
End Function
24+
2425
Shared Function SetNeedParamToStr(ByVal SourceStr As String, ByVal Param As String, ByVal Value As String) As String
2526

2627
Dim sTemp As String
@@ -73,6 +74,12 @@ Public Class Libraries
7374

7475
FirstPos = InStr(1, SourceStr, " " & MaskStr & "=") ' + 1
7576
If FirstPos = Nothing Then 'Or FirstPos = 0
77+
78+
If SourceStr.StartsWith(MaskStr) Then
79+
GetNeedParamFromStr = SourceStr.Remove(0, MaskStr.Length + 1).Trim()
80+
Exit Function
81+
End If
82+
7683
GetNeedParamFromStr = ""
7784
Exit Function
7885
End If

L2ScriptMaker/My Project/Application.Designer.vb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

L2ScriptMaker/My Project/AssemblyInfo.vb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Imports System.Runtime.InteropServices
88

99
' Review the values of the assembly attributes
1010

11-
<Assembly: AssemblyTitle("L2ScriptMaker (C4 Support)")>
12-
<Assembly: AssemblyDescription("Tool for generate Lineage II server configuraion files. Contact: mailto:[email protected] Subject: L2ScriptMaker. Official site: http://l2scriptmaker.spaces.live.com/ Donation page: http://dragon.ur.ru/l2sm")>
11+
<Assembly: AssemblyTitle("L2ScriptMaker (C4 Support)")>
12+
<Assembly: AssemblyDescription("Tool for generate Lineage II server configuraion files")>
1313
<Assembly: AssemblyCompany("HellFire Lair")>
1414
<Assembly: AssemblyProduct("L2ScriptMaker")>
1515
<Assembly: AssemblyCopyright("Copyright © HellFire '2005")>
@@ -34,4 +34,4 @@ Imports System.Runtime.InteropServices
3434
' <Assembly: AssemblyVersion("1.0.*")>
3535

3636
<Assembly: AssemblyVersion("4.0.53.*")>
37-
<Assembly: AssemblyFileVersion("4.0.53.2")>
37+
<Assembly: AssemblyFileVersion("4.0.53.3")>

L2ScriptMaker/My Project/Resources.Designer.vb

Lines changed: 20 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

L2ScriptMaker/My Project/Settings.Designer.vb

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

L2ScriptMaker/app.config

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<system.diagnostics>
4+
<sources>
5+
<!-- This section defines the logging configuration for My.Application.Log -->
6+
<source name="DefaultSource" switchName="DefaultSwitch">
7+
<listeners>
8+
<add name="FileLog"/>
9+
<!-- Uncomment the below section to write to the Application Event Log -->
10+
<!--<add name="EventLog"/>-->
11+
</listeners>
12+
</source>
13+
</sources>
14+
<switches>
15+
<add name="DefaultSwitch" value="Information"/>
16+
</switches>
17+
<sharedListeners>
18+
<add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>
19+
<!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
20+
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
21+
</sharedListeners>
22+
</system.diagnostics>
23+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

0 commit comments

Comments
 (0)