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

  • Home
  • SEARCH
  • 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 8023929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:42:35+00:00 2026-06-04T22:42:35+00:00

This is a follow-up to: Projection using async delegate/lambda Apparently, the Async CTP has

  • 0

This is a follow-up to: Projection using async delegate/lambda

Apparently, the Async CTP has a bug that I’ve hit into, and I need to use the VS11 compiler. At the command-line, running msbuild even against a project written in VS2010 still compiles with the VS11 compiler because VS11/.NET 4.5 installs in-place in the .NET 4.0 directory.

However, inside Visual Studio 2010, an in-process compiler is used which seems to not have been upgraded to the new VS11 compiler.

Can I (through some hackery / DLL manipulation) change the compiler that Visual Studio 2010 uses? This would just be a hack/workaround until VS11 supports Windows Azure, so that I can upgrade to the beta/release candidate/RTM.

  • 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-04T22:42:36+00:00Added an answer on June 4, 2026 at 10:42 pm

    You may run into some success using the little-known property UseHostCompilerIfAvailable. That should cause build within the IDE to use the compiler in the framework directory.

    However IDE features such as intellisense will always use the in-proc compiler. If the bug you’re hitting is only on the final transformations of async methods though, you may find that the in-proc compiler is good enough for intellisense, and that UseHostCompilerIfAvailable is good enough to allow you to build from VS.

    You set it by manually editing your csproj file to include

    <UseHostCompilerIfAvailable>false</UseHostCompilerIfAvailable>
    

    in the top property group.

    Also – VS11 supports “roundtripping”! In most scenarios you can open your VS10 project using VS11 without forcing an upgrade. Thus if you have a team need to keep your project in the V10 format for the time being, you can at least independently use VS11. However, this is harder if there are addins that you need that have yet to be released for VS11.

    Hope this helps! 🙂

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

Sidebar

Related Questions

This is follow-up to: using xslt to create an xml file in c <element1
Trying to follow this example. (Section String sorting...) Is there anything obvious that would
I've created a query that groups production data on ISO week by using this
Does this follow a common namespace design pattern for XML in such a way
My app crash giving this follow. *** -[MyItem respondsToSelector:]: message sent to deallocated instance
I follow this link site to integrate Twitter on Android. But the problem is
I follow this rule but some of my colleagues disagree with it and argue
I just follow this http://www.dotnetcurry.com/ShowArticle.aspx?ID=585 to do the project but have error ambiguity and
If you follow this link to one of the pages on my site and
I tried to follow this but the default modelbinder let my array null on

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.