.net - The file Form1 cannot be modified at this time -


opening visual studio 2015 project , in design-time modifying form designer or code error:

------------------ microsoft visual studio ---------------------------
file c:\tfs...\form1.cs cannot modified @ time.
--------------------------- ok ---------------------------

its bug discussed here https://github.com/dotnet/roslyn/issues/4039 , solutions not applicable:

a) convert workspace local workspace.

it local workspace.

b) check-out form before opening in designer/code editor.

it checked out.


in addition msdn article: the designer cannot modified @ time not applicable:

c) ensure file not marked read-only , solution not running.

the file read/write , solution not running.

i've been experiencing same problem after converting server workspace local workspace. deleting vssscc file may best option i'll document did.

  1. checked in file in question.
  2. opened visual studio 2015 command prompt , ran:

    tf lock /lock:none /workspace:dev02local "$/web/.../frmmain.cs" 
  3. checked out file

i'd interested see if attempting re-checkout resolves problem in case:

tf lock /lock:checkout /workspace:dev02local "$/web/.../frmmain.cs" 

Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -