Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
7d53c129
Commit
7d53c129
authored
Oct 14, 2012
by
csharptest
Committed by
rogerk
Oct 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactored SilverlightCompatibility.cs => FrameworkPortability.cs added NewLine const
parent
ad73b425
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
48 additions
and
115 deletions
+48
-115
MessageFormatFactory.cs
...rotocolBuffers.Serialization/Http/MessageFormatFactory.cs
+0
-1
JsonFormatWriter.cs
src/ProtocolBuffers.Serialization/JsonFormatWriter.cs
+1
-1
ProtocolBuffers.Serialization.csproj
...uffers.Serialization/ProtocolBuffers.Serialization.csproj
+3
-2
ProtocolBuffersLite.Serialization.csproj
...rs.Serialization/ProtocolBuffersLite.Serialization.csproj
+3
-2
ProtocolBuffers.Test.csproj
src/ProtocolBuffers.Test/ProtocolBuffers.Test.csproj
+7
-26
CustomSerialization.cs
src/ProtocolBuffers/CustomSerialization.cs
+4
-4
DescriptorPool.cs
src/ProtocolBuffers/Descriptors/DescriptorPool.cs
+1
-1
ProtocolBuffers.csproj
src/ProtocolBuffers/ProtocolBuffers.csproj
+5
-2
ProtocolBuffersLite.csproj
src/ProtocolBuffers/ProtocolBuffersLite.csproj
+3
-2
SilverlightCompatibility.cs
src/ProtocolBuffers/SilverlightCompatibility.cs
+0
-53
TextTokenizer.cs
src/ProtocolBuffers/TextTokenizer.cs
+5
-5
ProtocolBuffersLite.Test.csproj
src/ProtocolBuffersLite.Test/ProtocolBuffersLite.Test.csproj
+7
-7
ProtocolBuffersLiteMixed.Test.csproj
...ocolBuffersLite.Test/ProtocolBuffersLiteMixed.Test.csproj
+9
-9
No files found.
src/ProtocolBuffers.Serialization/Http/MessageFormatFactory.cs
View file @
7d53c129
...
...
@@ -63,7 +63,6 @@ namespace Google.ProtocolBuffers.Serialization.Http
Encoding
=
new
UTF8Encoding
(
false
),
Indent
=
true
,
IndentChars
=
" "
,
NewLineChars
=
Environment
.
NewLine
,
};
// Don't know how else to change xml writer options?
codedOutput
=
writer
=
XmlFormatWriter
.
CreateInstance
(
XmlWriter
.
Create
(
output
,
settings
));
...
...
src/ProtocolBuffers.Serialization/JsonFormatWriter.cs
View file @
7d53c129
...
...
@@ -226,7 +226,7 @@ namespace Google.ProtocolBuffers.Serialization
/// <summary> Sets the output formatting to use Environment.NewLine with 4-character indentions </summary>
public
JsonFormatWriter
Formatted
()
{
NewLine
=
Environment
.
NewLine
;
NewLine
=
FrameworkPortability
.
NewLine
;
Indent
=
" "
;
Whitespace
=
" "
;
return
this
;
...
...
src/ProtocolBuffers.Serialization/ProtocolBuffers.Serialization.csproj
View file @
7d53c129
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<TargetFrameworkClass>
CLIENTPROFILE
</TargetFrameworkClass>
<EnvironmentFlavor>
CLIENTPROFILE
</EnvironmentFlavor>
<EnvironmentTemplate>
NET35
</EnvironmentTemplate>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProductVersion>
9.0.30729
</ProductVersion>
...
...
@@ -11,7 +12,7 @@
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Google.ProtocolBuffers.Serialization
</RootNamespace>
<AssemblyName>
Google.ProtocolBuffers.Serialization
</AssemblyName>
<TargetFrameworkVersion>
v
2.0
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v
3.5
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<SignAssembly>
true
</SignAssembly>
<AssemblyOriginatorKeyFile>
..\..\keys\Google.ProtocolBuffers.snk
</AssemblyOriginatorKeyFile>
...
...
src/ProtocolBuffers.Serialization/ProtocolBuffersLite.Serialization.csproj
View file @
7d53c129
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<TargetFrameworkClass>
CLIENTPROFILE
</TargetFrameworkClass>
<EnvironmentFlavor>
CLIENTPROFILE
</EnvironmentFlavor>
<EnvironmentTemplate>
NET35
</EnvironmentTemplate>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProductVersion>
9.0.30729
</ProductVersion>
...
...
@@ -11,7 +12,7 @@
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Google.ProtocolBuffers.Serialization
</RootNamespace>
<AssemblyName>
Google.ProtocolBuffersLite.Serialization
</AssemblyName>
<TargetFrameworkVersion>
v
2.0
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v
3.5
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<SignAssembly>
true
</SignAssembly>
<AssemblyOriginatorKeyFile>
..\..\keys\Google.ProtocolBuffers.snk
</AssemblyOriginatorKeyFile>
...
...
src/ProtocolBuffers.Test/ProtocolBuffers.Test.csproj
View file @
7d53c129
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<TargetFrameworkClass>
CLIENTPROFILE
</TargetFrameworkClass>
<EnvironmentFlavor>
CLIENTPROFILE
</EnvironmentFlavor>
<EnvironmentTemplate>
NET35
</EnvironmentTemplate>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProductVersion>
9.0.30729
</ProductVersion>
...
...
@@ -11,31 +12,11 @@
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Google.ProtocolBuffers
</RootNamespace>
<AssemblyName>
Google.ProtocolBuffers.Test
</AssemblyName>
<TargetFrameworkVersion>
v
2.0
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v
3.5
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<SignAssembly>
true
</SignAssembly>
<AssemblyOriginatorKeyFile>
..\..\keys\Google.ProtocolBuffers.snk
</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>
3.5
</OldToolsVersion>
<PublishUrl>
publish\
</PublishUrl>
<Install>
true
</Install>
<InstallFrom>
Disk
</InstallFrom>
<UpdateEnabled>
false
</UpdateEnabled>
<UpdateMode>
Foreground
</UpdateMode>
<UpdateInterval>
7
</UpdateInterval>
<UpdateIntervalUnits>
Days
</UpdateIntervalUnits>
<UpdatePeriodically>
false
</UpdatePeriodically>
<UpdateRequired>
false
</UpdateRequired>
<MapFileExtensions>
true
</MapFileExtensions>
<ApplicationRevision>
0
</ApplicationRevision>
<ApplicationVersion>
1.0.0.%2a
</ApplicationVersion>
<IsWebBootstrapper>
false
</IsWebBootstrapper>
<UseApplicationTrust>
false
</UseApplicationTrust>
<BootstrapperEnabled>
true
</BootstrapperEnabled>
<TrackFileAccess>
false
</TrackFileAccess>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<DebugSymbols>
true
</DebugSymbols>
...
...
@@ -45,8 +26,8 @@
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
<CodeAnalysisRuleSet>
AllRules.ruleset
</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>
true
</TreatWarningsAsErrors>
<NoStdLib>
true
</NoStdLib>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<DebugType>
pdbonly
</DebugType>
...
...
@@ -55,21 +36,21 @@
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
<CodeAnalysisRuleSet>
AllRules.ruleset
</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>
true
</TreatWarningsAsErrors>
<NoStdLib>
true
</NoStdLib>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"mscorlib"
/>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup
Condition=
" '$(
TargetFrameworkClass
)' == 'CLIENTPROFILE' "
>
<ItemGroup
Condition=
" '$(
EnvironmentFlavor
)' == 'CLIENTPROFILE' "
>
<Reference
Include=
"nunit.framework"
>
<SpecificVersion>
False
</SpecificVersion>
<HintPath>
..\..\lib\NUnit\lib\nunit.framework.dll
</HintPath>
</Reference>
</ItemGroup>
<ItemGroup
Condition=
" '$(
TargetFrameworkClass
)' != 'CLIENTPROFILE' "
>
<ItemGroup
Condition=
" '$(
EnvironmentFlavor
)' != 'CLIENTPROFILE' "
>
<Reference
Include=
"Microsoft.Silverlight.Testing, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"
>
<SpecificVersion>
False
</SpecificVersion>
<HintPath>
..\..\lib\Microsoft.Silverlight.Testing\April2010\Microsoft.Silverlight.Testing.dll
</HintPath>
...
...
src/ProtocolBuffers/CustomSerialization.cs
View file @
7d53c129
...
...
@@ -33,14 +33,14 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endregion
using
System
;
using
System.Runtime.Serialization
;
/*
* This entire source file is not supported on the Silverlight platform
*/
#if !SILVERLIGHT && !COMPACT_FRAMEWORK
using
System
;
using
System.Runtime.Serialization
;
namespace
Google.ProtocolBuffers
{
/*
...
...
src/ProtocolBuffers/Descriptors/DescriptorPool.cs
View file @
7d53c129
...
...
@@ -167,7 +167,7 @@ namespace Google.ProtocolBuffers.Descriptors
}
private
static
readonly
Regex
ValidationRegex
=
new
Regex
(
"^[_A-Za-z][_A-Za-z0-9]*$"
,
SilverlightCompati
bility
.
CompiledRegexWhereAvailable
);
FrameworkPorta
bility
.
CompiledRegexWhereAvailable
);
/// <summary>
/// Verifies that the descriptor's name is valid (i.e. it contains
...
...
src/ProtocolBuffers/ProtocolBuffers.csproj
View file @
7d53c129
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<TargetFrameworkClass>
CLIENTPROFILE
</TargetFrameworkClass>
<EnvironmentFlavor>
CLIENTPROFILE
</EnvironmentFlavor>
<EnvironmentTemplate>
NET35
</EnvironmentTemplate>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProductVersion>
9.0.30729
</ProductVersion>
...
...
@@ -11,7 +12,7 @@
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Google.ProtocolBuffers
</RootNamespace>
<AssemblyName>
Google.ProtocolBuffers
</AssemblyName>
<TargetFrameworkVersion>
v
2.0
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v
3.5
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<SignAssembly>
true
</SignAssembly>
<AssemblyOriginatorKeyFile>
..\..\keys\Google.ProtocolBuffers.snk
</AssemblyOriginatorKeyFile>
...
...
@@ -27,6 +28,7 @@
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
<TreatWarningsAsErrors>
true
</TreatWarningsAsErrors>
<NoStdLib>
true
</NoStdLib>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
...
...
@@ -38,6 +40,7 @@
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
<TreatWarningsAsErrors>
true
</TreatWarningsAsErrors>
<NoStdLib>
true
</NoStdLib>
</PropertyGroup>
<ItemGroup>
...
...
src/ProtocolBuffers/ProtocolBuffersLite.csproj
View file @
7d53c129
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<TargetFrameworkClass>
CLIENTPROFILE
</TargetFrameworkClass>
<EnvironmentFlavor>
CLIENTPROFILE
</EnvironmentFlavor>
<EnvironmentTemplate>
NET35
</EnvironmentTemplate>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProductVersion>
9.0.30729
</ProductVersion>
...
...
@@ -11,7 +12,7 @@
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Google.ProtocolBuffers
</RootNamespace>
<AssemblyName>
Google.ProtocolBuffersLite
</AssemblyName>
<TargetFrameworkVersion>
v
2.0
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v
3.5
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<SignAssembly>
true
</SignAssembly>
<AssemblyOriginatorKeyFile>
..\..\keys\Google.ProtocolBuffers.snk
</AssemblyOriginatorKeyFile>
...
...
src/ProtocolBuffers/SilverlightCompatibility.cs
deleted
100644 → 0
View file @
ad73b425
#
region
Copyright
notice
and
license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://github.com/jskeet/dotnet-protobufs/
// Original C++/Java/Python code:
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endregion
using
System.Text.RegularExpressions
;
namespace
Google.ProtocolBuffers
{
/// <summary>
/// Class containing helpful workarounds for Silverlight compatibility
/// </summary>
internal
static
class
SilverlightCompatibility
{
#if SILVERLIGHT
internal
const
RegexOptions
CompiledRegexWhereAvailable
=
RegexOptions
.
None
;
#else
internal
const
RegexOptions
CompiledRegexWhereAvailable
=
RegexOptions
.
Compiled
;
#endif
}
}
\ No newline at end of file
src/ProtocolBuffers/TextTokenizer.cs
View file @
7d53c129
...
...
@@ -80,7 +80,7 @@ namespace Google.ProtocolBuffers
// Note: atomic groups used to mimic possessive quantifiers in Java in both of these regexes
internal
static
readonly
Regex
WhitespaceAndCommentPattern
=
new
Regex
(
"\\G(?>(\\s|(#.*$))+)"
,
SilverlightCompati
bility
.
FrameworkPorta
bility
.
CompiledRegexWhereAvailable
|
RegexOptions
.
Multiline
);
...
...
@@ -89,18 +89,18 @@ namespace Google.ProtocolBuffers
"\\G[0-9+-](?>[0-9a-zA-Z_.+-]*)|"
+
// a number
"\\G\"(?>([^\"\\\n\\\\]|\\\\.)*)(\"|\\\\?$)|"
+
// a double-quoted string
"\\G\'(?>([^\"\\\n\\\\]|\\\\.)*)(\'|\\\\?$)"
,
// a single-quoted string
SilverlightCompati
bility
.
CompiledRegexWhereAvailable
|
RegexOptions
.
Multiline
);
FrameworkPorta
bility
.
CompiledRegexWhereAvailable
|
RegexOptions
.
Multiline
);
private
static
readonly
Regex
DoubleInfinity
=
new
Regex
(
"^-?inf(inity)?$"
,
SilverlightCompati
bility
.
CompiledRegexWhereAvailable
|
FrameworkPorta
bility
.
CompiledRegexWhereAvailable
|
RegexOptions
.
IgnoreCase
);
private
static
readonly
Regex
FloatInfinity
=
new
Regex
(
"^-?inf(inity)?f?$"
,
SilverlightCompati
bility
.
CompiledRegexWhereAvailable
|
FrameworkPorta
bility
.
CompiledRegexWhereAvailable
|
RegexOptions
.
IgnoreCase
);
private
static
readonly
Regex
FloatNan
=
new
Regex
(
"^nanf?$"
,
SilverlightCompati
bility
.
CompiledRegexWhereAvailable
|
FrameworkPorta
bility
.
CompiledRegexWhereAvailable
|
RegexOptions
.
IgnoreCase
);
/** Construct a tokenizer that parses tokens from the given text. */
...
...
src/ProtocolBuffersLite.Test/ProtocolBuffersLite.Test.csproj
View file @
7d53c129
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<TargetFrameworkClass>
CLIENTPROFILE
</TargetFrameworkClass>
<EnvironmentFlavor>
CLIENTPROFILE
</EnvironmentFlavor>
<EnvironmentTemplate>
NET35
</EnvironmentTemplate>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProductVersion>
9.0.30729
</ProductVersion>
...
...
@@ -11,14 +12,11 @@
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Google.ProtocolBuffers
</RootNamespace>
<AssemblyName>
Google.ProtocolBuffersLite.Test
</AssemblyName>
<TargetFrameworkVersion>
v
2.0
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v
3.5
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<SignAssembly>
true
</SignAssembly>
<AssemblyOriginatorKeyFile>
..\..\keys\Google.ProtocolBuffers.snk
</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>
3.5
</OldToolsVersion>
<UpgradeBackupLocation
/>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<DebugSymbols>
true
</DebugSymbols>
...
...
@@ -28,6 +26,7 @@
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
<TreatWarningsAsErrors>
true
</TreatWarningsAsErrors>
<NoStdLib>
true
</NoStdLib>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
...
...
@@ -37,6 +36,7 @@
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
<TreatWarningsAsErrors>
true
</TreatWarningsAsErrors>
<NoStdLib>
true
</NoStdLib>
</PropertyGroup>
<ItemGroup>
...
...
@@ -44,13 +44,13 @@
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup
Condition=
" '$(
TargetFrameworkClass
)' == 'CLIENTPROFILE' "
>
<ItemGroup
Condition=
" '$(
EnvironmentFlavor
)' == 'CLIENTPROFILE' "
>
<Reference
Include=
"nunit.framework"
>
<SpecificVersion>
False
</SpecificVersion>
<HintPath>
..\..\lib\NUnit\lib\nunit.framework.dll
</HintPath>
</Reference>
</ItemGroup>
<ItemGroup
Condition=
" '$(
TargetFrameworkClass
)' != 'CLIENTPROFILE' "
>
<ItemGroup
Condition=
" '$(
EnvironmentFlavor
)' != 'CLIENTPROFILE' "
>
<Reference
Include=
"Microsoft.Silverlight.Testing, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"
>
<SpecificVersion>
False
</SpecificVersion>
<HintPath>
..\..\lib\Microsoft.Silverlight.Testing\April2010\Microsoft.Silverlight.Testing.dll
</HintPath>
...
...
src/ProtocolBuffersLite.Test/ProtocolBuffersLiteMixed.Test.csproj
View file @
7d53c129
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<TargetFrameworkClass>
CLIENTPROFILE
</TargetFrameworkClass>
<EnvironmentFlavor>
CLIENTPROFILE
</EnvironmentFlavor>
<EnvironmentTemplate>
NET35
</EnvironmentTemplate>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProductVersion>
9.0.30729
</ProductVersion>
...
...
@@ -11,14 +12,11 @@
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Google.ProtocolBuffers
</RootNamespace>
<AssemblyName>
Google.ProtocolBuffersMixedLite.Test
</AssemblyName>
<TargetFrameworkVersion>
v
2.0
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v
3.5
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<SignAssembly>
true
</SignAssembly>
<AssemblyOriginatorKeyFile>
..\..\keys\Google.ProtocolBuffers.snk
</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>
3.5
</OldToolsVersion>
<UpgradeBackupLocation
/>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<DebugSymbols>
true
</DebugSymbols>
...
...
@@ -27,8 +25,9 @@
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<NoStdLib>
true
</NoStdLib>
<WarningLevel>
4
</WarningLevel>
<TreatWarningsAsErrors>
true
</TreatWarningsAsErrors>
<NoStdLib>
true
</NoStdLib>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<DebugType>
pdbonly
</DebugType>
...
...
@@ -36,21 +35,22 @@
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<NoStdLib>
true
</NoStdLib>
<WarningLevel>
4
</WarningLevel>
<TreatWarningsAsErrors>
true
</TreatWarningsAsErrors>
<NoStdLib>
true
</NoStdLib>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"mscorlib"
/>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup
Condition=
" '$(
TargetFrameworkClass
)' == 'CLIENTPROFILE' "
>
<ItemGroup
Condition=
" '$(
EnvironmentFlavor
)' == 'CLIENTPROFILE' "
>
<Reference
Include=
"nunit.framework"
>
<SpecificVersion>
False
</SpecificVersion>
<HintPath>
..\..\lib\NUnit\lib\nunit.framework.dll
</HintPath>
</Reference>
</ItemGroup>
<ItemGroup
Condition=
" '$(
TargetFrameworkClass
)' != 'CLIENTPROFILE' "
>
<ItemGroup
Condition=
" '$(
EnvironmentFlavor
)' != 'CLIENTPROFILE' "
>
<Reference
Include=
"Microsoft.Silverlight.Testing, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"
>
<SpecificVersion>
False
</SpecificVersion>
<HintPath>
..\..\lib\Microsoft.Silverlight.Testing\April2010\Microsoft.Silverlight.Testing.dll
</HintPath>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment