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 6662663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:24:50+00:00 2026-05-26T02:24:50+00:00

Any time I try to paste anything in a CSHTML file that contains Razor

  • 0

Any time I try to paste anything in a CSHTML file that contains Razor markup or targets a line inside a code block – the entire Visual Studio freezes for almost a minute.

I’ve applied SP1 for Visual Studio. I’m using ASP.NET MVC 3.

I also only have this problem on a single computer so I’m guessing there’s some sort of application or version mismatch I’m simply not seeing. I’m running ReSharper and upgraded it to 6.0 to no avail (though the Razor code inspection works and is really nice).

It’s only if I paste a line containing Razor markup that the issue occur. I get no errors on the copy operation, and if I’m pasting regular HTML without Razor markup or outside code blocks in the very same file there’re no issues whatsoever. No problems pasting in any other kinds of files like .cs or .aspx. Freshly created MVC 3 projects suffer as well as existing old projects.

  • 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-05-26T02:24:50+00:00Added an answer on May 26, 2026 at 2:24 am

    I resolved this a while ago but I don’t recall exactly which component was the issue – but it was either SP1 for Visual Studio that was in fact not RTM (though it wasn’t obvious when looking at the about dialog hence the difficulty in figuring out) or, more likely according to my memory, a pre-RTM version of MVC 3 installed, also not obvious at all when looking through the installed components list.

    It took some manual work to get all the related components uninstalled, including some registry hacks, before reinstalling the RTM version and then the problem disappeared. I did not have to reinstall Visual Studio or any of my addons.

    Hope this helps someone with similar problems, carefully investigate the exact build numbers of the suspected components. They may in fact be pre-RTM :9

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

Sidebar

Related Questions

Any time I try to publish my Portal project on a Websphere Portal 6.1
My IDE crashes any time I try add a new component to the toolbar.
Every time try to set the value of any variable in my model object,
Any time I use the recipe at http://code.activestate.com/recipes/134892/ I can't seem to get it
I've discovered that any time I do the following: echo '<a href=http:// title=bla>huzzah</a>'; I
In Delphi 2009 I'm finding that any time I use TThread.CurrentThread in an application,
What is the WPF control that VS2010 uses for the code editor? Some time
any time i write this: $this->setTemplate('module/action'); I'm getting this error: The template module/actionSuccess.php does
Is there any time in which a reference type is more efficient than a
I need to force any time related operations to GMT/UTC, regardless the timezone set

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.