.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.
- checked in file in question.
opened visual studio 2015 command prompt , ran:
tf lock /lock:none /workspace:dev02local "$/web/.../frmmain.cs"
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
Post a Comment