cannot get new locally modified version to load into Visual Studio 2010
description
As of 8:17 AM 2/6/2012, I tried to make some small changes made to SharpSort on my local machine.
- The "Latest Version" of the code was downloaded from the following link...
http://sharpsort.codeplex.com/SourceControl/list/changesets/
- The project was opened in Visual Studio 2010 and a new Solution file was saved.
- The code in the class "CodeFormatter.cs" was changed as follows...
// NOTE. 20120206. Old.
//codeModel.DTE.ExecuteCommand("Edit.RemoveAndSort", "");
// NOTE. 20120206. New.
codeModel.DTE.ExecuteCommand("Edit.SortUsings", "");
...so that the "using" lines are sorted but not trimmed by use.
- I made a very small change to make sure the method-count was NOT appended to the "#region Name" line, because the count is too hard to maintain when hand-coding.
- I made a very small change to make the region name is appended to the "#endregion" line, because it makes the end of the region easier to view when surfing the code.
- The signing key was changed from the old-key, "eVision.pfx", to a new-key, "TestKey.snk", becuse the old-key was causing compile-time-errors for an unknown reason.
- The setting "Post Build Event", in the project "SharpSort.VSAddIn" and in the project "Core", was changes as follows...
rem NOTE. 20120206. Old.
rem "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe" /if "$(TargetPath)"
rem NOTE. 20120206. New.
rem "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\gacutil.exe" /if "$(TargetPath)"
- The Solution had to be opened locally with a user that is a member of the "Local Administrators" group because it runs commands against the GAC in the Build Events.
- Removed the Unit Tests project because it was causing unknown problems during compilation.
- (Note that I did not do a reboot.)
- After doing all that, and recompiling, I could not get the "new version" to load.
- I have attached the complete code set, with the modified files in it, as "sharpsort-46770-mod-201202061007.zip".
- How can I get my "new version" of SharpSort load?
Please advise.
Thanks.
-- Mark Kamoski