Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7917785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:16:05+00:00 2026-06-03T15:16:05+00:00

When I compile my project without any files opened the build succeeds as expected.

  • 0

When I compile my project without any files opened the build succeeds as expected. Now when I open a file which contains any methods with the async keyword, in my errors window appear messages like this:

Error   6   ; expected  
Error   10  ; expected  
Error   16  A namespace cannot directly contain members such as fields or methods   
Error   2   Identifier expected

When I build the solution, it succeeds, still.

I installed AsyncCTPv3 and the ReSharper. I currently disabled the ReSharper, but still these errors get displayed. Anyone a clue?

edit: The same errors seem to occor near the await keywords. I mean await and async go hand in hand, but it’s pretty weird that those errors just occur next to non-.NET-4.0-elements. And the compiler does not even care a bit. I think just Visual Studio has some trouble to interpret these keywords.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T15:16:06+00:00Added an answer on June 3, 2026 at 3:16 pm

    First of all. Lots of thanks to Joshua Drake, who provided this link. Firstly I recognized that my file versions didn’t match up with the ones, which should have been there. I reinstalled without any success. Afterwards I’ve noticed the following paragraph on this site:

    Run Windows Update before installing Async CTP v3, and get all updates
    (including Optional updates) from before October 2011

    BUT NONE that came after. Three in particular, KB2635973 and KB2615527 and KB2645410, are known to be incompatible with Async CTP
    v3.

    After installing Async CTP v3, then you can get subsequent updates.

    That’s been the clue. After uninstalling the three mentioned updates, I reinstalled Async CTP again and it worked. Thanks a lot!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My project compiled fine without any problems. I went out of Eclipse and went
Is there a way to compile a .vbproj or .csproj project file directly, just
I have created a Silverlight project which also contains a Web project. I have
Using Microsoft Visual C++ I am trying to compile the file "test.cc" which is
is there any way to create a new visual studio project without using IDE,
Until now, my project had only .cpp files that were compiled into different binaries
Where I can change compiler options for C# project in VisualStudio 2008 (without command
When I compile a project I get this error: C:\DATOSA~1\FAXENG~1>nmake /f Makefile.vc clean Microsoft
When I compile our project use Delphi 2010 Trial, there has a fatal error
When you compile a project in Visual Studio (VS), as part of the compilaton

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.