I have a file, let's say MySchema.xsd, within a folder in a C# project.  I am auto-generating a class, MySchema.cs, through the use of a pre-build action that runs xsd.exe on it.  I can include MySchema.cs in my project, and VS2008 automatically makes it a dependent file of MySchema.xsd.
I need to include MySchema.xsd in source control (Visual Source Safe 2005) but exclude the generated output.  This blog entry has a tip that does exactly what I want, except that the menu option "Exclude 'MySchema.cs' from source control" does not exist.  It seems that this menu option does not appear for dependent items.  I do have that option for MySchema.xsd, but that is not what I want.
I have tried temporarily making MySchema.cs independent by editing the .cs开发者_如何学运维proj file, then excluding the file.  That worked, but when I went to make the file dependent again, MySchema.xsd is also excluded.
Another solution could be just to name the output of xsd.exe something else, then exclude that file.  However, I would like to avoid renaming if possible.
Is there another solution I have missed?
What about removing it from source control but still include in in the project?
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论