Navigation:  »No topics above this level«

CopyWiz - Details

Previous pageReturn to chapter overviewNext page

CopyWiz parses project and solution files (and their constituent files) and performs replacements on filenames, project names, GUIDs, and directory paths based on the user’s selections in the wizard.  The following strings will be matched and replaced within filenames and project files (matching is non-case-sensitive):


white space, beginning of line, or one of <>(/\.:;"'= followed by ProjName followed by white space, end of line, or one of <>/\.:;"'=)
<white space>ProjNameLib
ProjName -
<white space>ProjFileName*.

For Visual Basic 5.0/6.0 projects only, the following strings are matched and replaced:

<white space>ProjName"
<white space>ProjName<white space>



For very short, common project names (i.e., Test, Hello, etc.), CopyWiz may unintentionally rename strings that don't actually specify a project name, requiring manual cleanup of project files after conversion.
To process a single project file, enter the project filename rather than the related .sln file.  Visual Studio will recreate the .sln file when opening the copied project.
When processing a multi-project solution file, renaming can be ambiguous, and by default, a project in a folder with the same name as the solution will not be renamed.  To rename a folder with the same name as the project/solution, create a REG_DWORD registry value HKEY_CURRENT_USER\Software\Kinook Software\CopyWiz\Settings\RenameProjectPaths with a value of 1.


If the GUID update option is enabled, any GUIDs (in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx and surrounded by parentheses, braces, double quotes, or single quotes, or in the form { 0x73e60670, 0xd701, 0x477b, { 0xaa, 0xd7, 0x78, 0xdf, 0x28, 0xcb, 0x24, 0xd2 } }) identified in the project file and .idl, .odl, .cs, .feature, and .package files in the project will be replaced with new GUIDs.



If any GUIDs are defined in files with other extensions, create a REG_SZ registry value HKEY_CURRENT_USER\Software\Kinook Software\CopyWiz\Settings\GUIDExt with all file extensions to search (e.g., .idl.cs.feature.cpp.h) and restart CopyWiz.
By default, CopyWiz will ignore any GUIDs on lines that also contain any of the following strings: <Project>;<ProjectTypeGuids;<FlavorProperties;<PlatformID;Project("{.  To add or remove ignored GUID lines, create a REG_SZ registry value HKEY_CURRENT_USER\Software\Kinook Software\CopyWiz\Settings\IgnoreGUID with all strings to match and ignore, separated by semicolons.
For compatibility with SharePoint projects, all new GUIDs will be lowercased by default.  To prevent lowercasing of GUIDs, create a REG_DWORD registry value HKEY_CURRENT_USER\Software\Kinook Software\CopyWiz\Settings\LowercaseGUIDs with a value of 0.