Skip to content

Commit 10c09f0

Browse files
committed
Migrated project to Visual Studio 2015 and fixed 3 compilation errors
1 parent ad93aaa commit 10c09f0

File tree

5 files changed

+27
-11
lines changed

5 files changed

+27
-11
lines changed

Source/Source/Parser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public bool Accept(RTFToken token)
8282
if ( token.Key == "emdash")
8383
{
8484
CheckBuffer();
85-
myStr.Append('¡ª');
85+
myStr.Append("¡ª"); // TODO: Check this literal
8686
return true;
8787
}
8888
if ( token.Key == "")

Source/Source/RTFNodeGroup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,13 @@ internal void MergeText()
162162
if( node.Keyword == "emdash")
163163
{
164164
AddString( myStr , buffer );
165-
myStr.Append( '¡ª');
165+
myStr.Append( "¡ª"); // TODO: Check this literal
166166
continue ;
167167
}
168168
if( node.Keyword == "" )
169169
{
170170
AddString( myStr , buffer );
171-
myStr.Append( '¨C' );
171+
myStr.Append( "¨C" ); // TODO: Check this literal
172172
continue ;
173173
}
174174
}

Source/Source/XDesigner.RTF.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
23
<PropertyGroup>
34
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
45
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -21,6 +22,12 @@
2122
<AssemblyOriginatorKeyFile>yyf.snk</AssemblyOriginatorKeyFile>
2223
<StartupObject>
2324
</StartupObject>
25+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
26+
<FileUpgradeFlags>
27+
</FileUpgradeFlags>
28+
<UpgradeBackupLocation>
29+
</UpgradeBackupLocation>
30+
<OldToolsVersion>2.0</OldToolsVersion>
2431
</PropertyGroup>
2532
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2633
<DebugSymbols>true</DebugSymbols>

Source/Test/XDesigner.RTF.Test.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
23
<PropertyGroup>
34
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
45
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -17,6 +18,12 @@
1718
</SccAuxPath>
1819
<SccProvider>
1920
</SccProvider>
21+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
22+
<FileUpgradeFlags>
23+
</FileUpgradeFlags>
24+
<UpgradeBackupLocation>
25+
</UpgradeBackupLocation>
26+
<OldToolsVersion>2.0</OldToolsVersion>
2027
</PropertyGroup>
2128
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2229
<DebugSymbols>true</DebugSymbols>

Source/XDesigner.RTF.sln

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 9.00
3-
# Visual Studio 2005
4-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XDesigner.RTF", "Source\XDesigner.RTF.csproj", "{D35F9B37-CF93-48AE-9A1A-3A99930F04FB}"
5-
EndProject
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XDesigner.RTF.Test", "Test\XDesigner.RTF.Test.csproj", "{E91ECAF1-8270-4BD2-8517-5F28DF5B8058}"
7-
EndProject
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.23107.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
86
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{216DF09C-9B07-4186-A4E0-62D592A8783A}"
97
ProjectSection(SolutionItems) = preProject
108
readme.rtf = readme.rtf
119
EndProjectSection
1210
EndProject
11+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XDesigner.RTF", "Source\XDesigner.RTF.csproj", "{D35F9B37-CF93-48AE-9A1A-3A99930F04FB}"
12+
EndProject
13+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XDesigner.RTF.Test", "Test\XDesigner.RTF.Test.csproj", "{E91ECAF1-8270-4BD2-8517-5F28DF5B8058}"
14+
EndProject
1315
Global
1416
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1517
Debug|Any CPU = Debug|Any CPU

0 commit comments

Comments
 (0)