我曾尝试重新编译最新版本的GoggleAPI,但我收到以下错误。
我正在使用VS2010 Sp1。我已经下载了v1.8.1。
我需要能够重新编译,以便我可以进行更改以解决我遇到的问题。我可以进入代码但我目前无法进行任何更改,因为我无法重新编译。
任何想法......这是我上一篇文章的后续内容,但另一篇文章我认为我需要帮助的内容很混乱。
我只需要能够重新编译。我可以不使用VS2010重新编译吗?
Build Log ------ Build started: Project: GoogleApis.Core, Configuration: Debug Any CPU ------
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(161,60): error CS1003: Syntax error, '(' expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(161,69): error CS1001: Identifier expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(162,31): error CS1044: Cannot use more than one type in a for, using, fixed, or declaration statement
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(162,48): error CS1002: ; expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(175,32): error CS1519: Invalid token '(' in class, struct, or interface member declaration
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(175,56): error CS1519: Invalid token ')' in class, struct, or interface member declaration
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(178,13): error CS1519: Invalid token 'do' in class, struct, or interface member declaration
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(180,63): error CS1519: Invalid token '(' in class, struct, or interface member declaration
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(182,30): error CS1519: Invalid token '!=' in class, struct, or interface member declaration
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(184,37): error CS1519: Invalid token '(' in class, struct, or interface member declaration
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(185,30): error CS1519: Invalid token '=' in class, struct, or interface member declaration
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(187,17): error CS0116: A namespace cannot directly contain members such as fields or methods C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(219,84): error CS1518: Expected class, delegate, enum, interface, or struct C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(229,21): error CS0116: A namespace cannot directly contain members such as fields or methods
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(240,17): error CS1022: Type or namespace definition, or end-of-file expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(122,41): error CS1003: Syntax error, '(' expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(122,60): error CS1001: Identifier expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(122,96): error CS1002: ; expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(125,48): error CS1519: Invalid token '!=' in class, struct, or interface member declaration
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(125,59): error CS1520: Method must have a return type
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(125,103): error CS1001: Identifier expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(125,104): error CS1002: ; expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(127,60): error CS1001: Identifier expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(127,83): error CS1001: Identifier expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(127,107): error CS1001: Identifier expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(127,108): error CS1002: ; expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(128,21): error CS1519: Invalid token '.' in class, struct, or interface member declaration
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(128,22): error CS1520: Method must have a return type
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(128,37): error CS1031: Type expected
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(130,13): error CS0116: A namespace cannot directly contain members such as fields or methods
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(137,24): error CS1518: Expected class, delegate, enum, interface, or struct
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(156,17): error CS1518: Expected class, delegate, enum, interface, or struct
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(179,27): error CS1518: Expected class, delegate, enum, interface, or struct
C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\BackOffHandler.cs(183,5): error CS1022: Type or namespace definition, or end-of-file expected
...
Compile complete -- 3 errors, 0 warnings All packages listed in packages.config are already installed. ========== Build: 0 succeeded or up-to-date, 8 failed, 0 skipped ==========
包
03/25/2014 05:40 PM <DIR> log4net.2.0.0
03/25/2014 05:40 PM <DIR> Microsoft.AspNet.Mvc.4.0.30506.0
03/25/2014 05:40 PM <DIR> Microsoft.AspNet.Razor.2.0.30506.0
03/25/2014 05:40 PM <DIR> Microsoft.AspNet.WebPages.2.0.30506.0
03/25/2014 05:40 PM <DIR> Microsoft.Bcl.1.0.19
03/25/2014 05:40 PM <DIR> Microsoft.Bcl.Async.1.0.16
03/25/2014 05:40 PM <DIR> Microsoft.Bcl.Build.1.0.10
03/25/2014 05:40 PM <DIR> Microsoft.Net.Http.2.1.10
03/25/2014 05:40 PM <DIR> Microsoft.Web.Infrastructure.1.0.0.0
03/25/2014 05:40 PM <DIR> Moq.4.0.10827
03/25/2014 05:40 PM <DIR> Moq.4.1.1309.1617
03/25/2014 05:40 PM <DIR> Newtonsoft.Json.5.0.8
03/25/2014 05:40 PM <DIR> NUnit.2.6.2
03/25/2014 05:40 PM <DIR> Zlib.Portable.1.9.2