VB "Add class from template" did not work

i have defined some templates for VB classes in R#'s template editor. Today i tried to add a class via "New from template". The class was added on the file system but not to the project (i can't see it in the solution explorer). Maybe this problem only occurs in conjunction with Visual Source Safe as source code repository. The project file was readonly on the file system because it wasn't checked out in Visual Source Safe. While adding the class, the project file was checked out automatically by the Visual Source Safe addin, but it seems that R# didn't recognized this.

I'm working with Visual Studio 2008, Visual Source Safe 2005 and R#6 release build.

Regards
Klaus

1 comment
Comment actions Permalink

After adding the generated class to the project, i noticed that R# didn't replaced the variables.

I deleted the generated file and added it again. As the project file stayed checked out, everything works as expected. So as a workaround i can check out the project file first and then use "New from template".

Regards
Klaus

0

Please sign in to leave a comment.