We have a problem combining 'nested files' and leaving the file from source control
We use the code generation to create two partial squares for each unit again - MyBusinessObject.vb and MyBusinessObject.Generated.vb
We have a nested under the booklet file Want to file a "Generated" file to appear as a file? Therefore, we are amending the project file to include such entries:
& lt; Include Compilation = "MyBusinessObject.vb" /> & Lt; Include Compilation = "MyBusinessObject.Generated.vb" & gt; & Lt; DependentUpon & gt; MyBusinessObject.vb & lt; / DependentUpon & gt; & Lt; / Compiled & gt;
It works well by itself, since we already have code generation templates in source control, we want to keep "generated" files out of source control, so we only need to everything changed again to see the project files to build so we modify the project source control file:
{ "FILE_VERSION" = "9237" never "ENLISTMENT_CHOICE" = " "" PROJECT_FILE_RELATIVE_PATH "=" "" NUMBER_OF_EXCLUDED_FILES "=" 1 "" EXCLUDED_FILE0 "=" MyB usinessObject.Generated.vb "" ORIGINAL_PROJECT_FILE_PATH "=" "" NUMBER_OF_NESTED_PROJECTS "=" 0 "" SOURCE_CONTROL_SETTINGS_PROVIDER "=" provider "} does
This works fine in itself. The problem is when we combine these two processes, MyBusinessObject.vb source control may show it as like as not marked MyBusinessObject.Generated.vb project source control file is being excluded from an excluded file is.
How can we nest files for your help and source code is the main file and nested source file excluded from control?
Thank you!
well, I did it a bit differently. Since I could not get nest to work, I just created invisible generated files for this project instead of
. & Lt; Compiled includes = "MyBusinessObject.vb" /> & Lt; Include Compilation = "MyBusinessObject.Generated.vb" & gt; & Lt; Visible & gt; False & lt; / Viewable & gt; & Lt; / Compiled & gt;
When I "with nesting displays all the files have" even I can see the files is not as cool as I nested files, but it should work. I have not seen any side effects yet.
Thanks anyway.
Comments
Post a Comment