Hi
When using Razor Generator to build MVC views into your dll, each View cshtml file gains a cs file behind it. For example, index.cshtml gets a backing file of index.generated.cs.
If you edit a view then that view is automatically checked out by Vault however the cs file behind is not and remains readonly. This means that when the view is saved, the cs file is not regenerated.
Is there a way to configure Vault so that when a cshtml file is checked out, a corresponding cs file will also be checked out?
Many thanks
John
Autocheckout code behind when using RazorGenerator
Re: Autocheckout code behind when using RazorGenerator
Sometimes Visual Studio add-ins do not trigger source code control events within Visual Studio's SCC events.
The best immediate option would be to use the Vault Enhanced Client and then use CVS mode. CVS mode is set in the Vault Tools - Options - Concurrent Development Style. Just click the button for CVS mode and allow it to change the options. CVS mode will work on files that have had a fresh Get performed on them.
The best immediate option would be to use the Vault Enhanced Client and then use CVS mode. CVS mode is set in the Vault Tools - Options - Concurrent Development Style. Just click the button for CVS mode and allow it to change the options. CVS mode will work on files that have had a fresh Get performed on them.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support