<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>mpfproj Work Item Rss Feed</title><link>http://www.codeplex.com/mpfproj/WorkItem/List.aspx</link><description>mpfproj Work Item Rss Description</description><item><title>Created Issue: Cast error when using custom logger. [18105]</title><link>http://mpfproj.codeplex.com/workitem/18105</link><description>I have my own logger class that inherits from Microsoft.Build.Utilities.Logger.  This is part of my overall Package implementation in VS2008.&lt;br /&gt;When I run I get a cast error in method SetOutputLogger on this line in ProjectNode.cs --&amp;#62; &amp;#40;&amp;#40;IDEBuildLogger&amp;#41;this.BuildLogger&amp;#41;.OutputWindowPane &amp;#61; output&amp;#59;&lt;br /&gt;&amp;#34;Unable to cast object of type Idea.Xgen.XgenLogger.XgenLogger to type Microsoft.VisualStudio.Project.IDEBuildLogger&amp;#34;.  &lt;br /&gt;I had reported this in the past for VS2005 and it was suggested to get around it for the time being with an IF statement before --&amp;#62; if &amp;#40;this.buildLogger is IDEBuildLogger&amp;#41;&lt;br /&gt;Is this something that needs to be fixed the the MFP source or do I have a bug in my implementation&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;</description><author>tbonemike</author><pubDate>Wed, 30 Jun 2010 18:54:55 GMT</pubDate><guid isPermaLink="false">Created Issue: Cast error when using custom logger. [18105] 20100630065455P</guid></item><item><title>Commented Issue: Enhancement Request: Support "Add File as Link" functionality [16236]</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=16236</link><description>The MPF should support the ability to &amp;#34;Add as Link&amp;#34; when adding files to a project, just like C&amp;#35; projects do. The Wix Votive project already modified the MPF to do this, and I would be happy to merge in the changes if this is assigned to me.&lt;br /&gt;Comments: ** Comment from web user: bralston7 ** &lt;p&gt;I have changes ready to merge for this enhancement. Moderators, please let me know how I can contribute these changes for review.&lt;/p&gt;</description><author>bralston7</author><pubDate>Mon, 08 Feb 2010 21:45:38 GMT</pubDate><guid isPermaLink="false">Commented Issue: Enhancement Request: Support "Add File as Link" functionality [16236] 20100208094538P</guid></item><item><title>Created Issue: Enhancement Request: Support VS2005 SDK [16237]</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=16237</link><description>The MPF can be modified via conditional compilation args &amp;#40;ie. &amp;#35;ifDef VS2005&amp;#41; to work for both VS2005 and VS2008. The Wix Votive project has already done this. I would like to see this change merged into the MPF. This would be very useful for those of us developing extensions for both 2005 and 2008.&lt;br /&gt;</description><author>bralston7</author><pubDate>Wed, 03 Feb 2010 22:39:07 GMT</pubDate><guid isPermaLink="false">Created Issue: Enhancement Request: Support VS2005 SDK [16237] 20100203103907P</guid></item><item><title>Created Issue: Enhancement Request: Support "Add File as Link" functionality [16236]</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=16236</link><description>The MPF should support the ability to &amp;#34;Add as Link&amp;#34; when adding files to a project, just like C&amp;#35; projects do. The Wix Votive project already modified the MPF to do this, and I would be happy to merge in the changes if this is assigned to me.&lt;br /&gt;</description><author>bralston7</author><pubDate>Wed, 03 Feb 2010 22:36:11 GMT</pubDate><guid isPermaLink="false">Created Issue: Enhancement Request: Support "Add File as Link" functionality [16236] 20100203103611P</guid></item><item><title>Commented Issue: Building source causes hard error CA0001 -- exception thrown by FxCop [11507]</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=11507</link><description>Building this set of source files with code analysis turned on causes a hard error whose message says&amp;#58;&lt;br /&gt;Error&amp;#9;13&amp;#9;CA0001 &amp;#58; Rule&amp;#61;Microsoft.Naming&amp;#35;CA1725, Target&amp;#61;Microsoft.VisualStudio.Project.Automation.OAReferenceBase&amp;#96;1.&amp;#35;get_Extender&amp;#40;System.String&amp;#41; &amp;#58; Object reference not set to an instance of an object.&amp;#9;MPFProj&lt;br /&gt;&lt;br /&gt;Suppressing the rule in source or in the global suppressions file does _not_ work around this error, but turning off this error in the Code Analysis settings for the project does.&lt;br /&gt;&lt;br /&gt;Please modify the source to avoid triggering the rule.  I will also post this to the FxCop forums so they can address the problem with rule 1725.&lt;br /&gt;Comments: ** Comment from web user: petterh ** &lt;p&gt;It seems to me this is an issue with FxCop rather than with MPFProj...&amp;#63;&lt;/p&gt;</description><author>petterh</author><pubDate>Mon, 28 Sep 2009 15:27:49 GMT</pubDate><guid isPermaLink="false">Commented Issue: Building source causes hard error CA0001 -- exception thrown by FxCop [11507] 20090928032749P</guid></item><item><title>Commented Issue: Building source causes hard error CA0001 -- exception thrown by FxCop [11507]</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=11507</link><description>Building this set of source files with code analysis turned on causes a hard error whose message says&amp;#58;&lt;br /&gt;Error&amp;#9;13&amp;#9;CA0001 &amp;#58; Rule&amp;#61;Microsoft.Naming&amp;#35;CA1725, Target&amp;#61;Microsoft.VisualStudio.Project.Automation.OAReferenceBase&amp;#96;1.&amp;#35;get_Extender&amp;#40;System.String&amp;#41; &amp;#58; Object reference not set to an instance of an object.&amp;#9;MPFProj&lt;br /&gt;&lt;br /&gt;Suppressing the rule in source or in the global suppressions file does _not_ work around this error, but turning off this error in the Code Analysis settings for the project does.&lt;br /&gt;&lt;br /&gt;Please modify the source to avoid triggering the rule.  I will also post this to the FxCop forums so they can address the problem with rule 1725.&lt;br /&gt;Comments: ** Comment from web user: petterh ** &lt;p&gt;Impact &amp;#61; Low is wrong&amp;#58; For us it&amp;#39;s a showstopper. Turning off the error in the Code Analysis section for the project helps when you do Run Code Analysis from within Visual Studio, but not when you use msbuild.&lt;/p&gt;</description><author>petterh</author><pubDate>Mon, 28 Sep 2009 15:26:13 GMT</pubDate><guid isPermaLink="false">Commented Issue: Building source causes hard error CA0001 -- exception thrown by FxCop [11507] 20090928032613P</guid></item><item><title>Created Issue: Wrong project reference icon is shown in solution explorer (VS2008)</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=13212</link><description>When adding a project reference &amp;#40;C&amp;#43;&amp;#43;, Visual Basic, etc.&amp;#41; to another project in Solution Explorer &amp;#40;right-click project&amp;#39;s reference, then click on the Add Reference... menu item&amp;#41;, the icon being displayed is not the standard greyish component icon.&lt;br /&gt;&lt;br /&gt;In fact, the icon being displayed is the project&amp;#39;s icon &amp;#40;The C&amp;#43;&amp;#43; project icon for a C&amp;#43;&amp;#43; reference, for example&amp;#41;.  We fixed the problem by adding the following instructions at line 143 in the ProjectReferenceNode.cs&amp;#58;&lt;br /&gt;&lt;br /&gt;if&amp;#40; prj.Properties &amp;#61;&amp;#61; null &amp;#41;&lt;br /&gt;  continue&amp;#59;&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s a sample of part of the current code with our solution from above, so that you can easily search for already existing strings&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47;Skip this project if it is an umodeled project &amp;#40;unloaded&amp;#41;&lt;br /&gt;if&amp;#40;string.Compare&amp;#40;EnvDTE.Constants.vsProjectKindUnmodeled, prj.Kind, StringComparison.OrdinalIgnoreCase&amp;#41; &amp;#61;&amp;#61; 0&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  continue&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47; Get the full path of the current project.&lt;br /&gt;EnvDTE.Property pathProperty &amp;#61; null&amp;#59;&lt;br /&gt;try&lt;br /&gt;&amp;#123;&lt;br /&gt;  &amp;#47;&amp;#47; OUR SOLUTION BEGINS HERE&lt;br /&gt;  if&amp;#40; prj.Properties &amp;#61;&amp;#61; null &amp;#41;&lt;br /&gt;    continue&amp;#59;&lt;br /&gt;   &amp;#47;&amp;#47; OUR SOLUTION ENDS HERE&lt;br /&gt;  pathProperty &amp;#61; prj.Properties.Item&amp;#40;&amp;#34;FullPath&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;  if&amp;#40;null &amp;#61;&amp;#61; pathProperty&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    &amp;#47;&amp;#47; The full path should alway be availabe, but if this is not the&lt;br /&gt;    &amp;#47;&amp;#47; case then we have to skip it.&lt;br /&gt;    continue&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>bdicroce</author><pubDate>Mon, 11 May 2009 21:11:11 GMT</pubDate><guid isPermaLink="false">Created Issue: Wrong project reference icon is shown in solution explorer (VS2008) 20090511091111P</guid></item><item><title>Commented Issue: OAProperties.Item can't find "URL" index</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=12730</link><description>I&amp;#39;m creating a language service for a simple DSL.  While working in the experimental hive, MPFProj quite often throws an exception in OAProperties.Item when the index argument equals &amp;#34;URL&amp;#34;.  The call stack shows nothing but &amp;#91;External Code&amp;#93; and this function.  The exception occurs when I close the solution or exit Visual Studio, but it also occurs sometimes when I open the project.  I can&amp;#39;t seem to determine the origin of the &amp;#34;URL&amp;#34; property, why it&amp;#39;s needed, or how to provide it.&lt;br /&gt;Comments: ** Comment from web user: cmaxo ** &lt;p&gt;I found a solution to this problem without having to modify the cs files provided by this project.  The file type that I was adding needed to have a class that &amp;#34;presents&amp;#34; properties to visual studio and that class needs to have a &amp;#34;public string URL...&amp;#34; property. The class that I created that subclasses from FileNode has this method now&amp;#58;&lt;/p&gt;&lt;p&gt;protected override NodeProperties CreatePropertiesObject&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;      MyFileNodeProperties properties &amp;#61; new MyFileNodeProperties&amp;#40;this&amp;#41;&amp;#59;&lt;br /&gt;      properties.OnCustomToolChanged &amp;#43;&amp;#61; new EventHandler&amp;#60;HierarchyNodeEventArgs&amp;#62;&amp;#40;OnCustomToolChanged&amp;#41;&amp;#59;&lt;br /&gt;      properties.OnCustomToolNameSpaceChanged &amp;#43;&amp;#61; new EventHandler&amp;#60;HierarchyNodeEventArgs&amp;#62;&amp;#40;OnCustomToolNameSpaceChanged&amp;#41;&amp;#59;&lt;br /&gt;      return properties&amp;#59;&lt;br /&gt;    &amp;#125;&lt;/p&gt;&lt;p&gt;And MyFileNodeProperties has among other things the URL property.&lt;/p&gt;&lt;p&gt;Corey&lt;/p&gt;</description><author>cmaxo</author><pubDate>Mon, 27 Apr 2009 22:12:34 GMT</pubDate><guid isPermaLink="false">Commented Issue: OAProperties.Item can't find "URL" index 20090427101234P</guid></item><item><title>Created Issue: VS.NET Solution Explorer Drag &amp; Drop for C++ projects does not work</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=13070</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I am trying to implement &amp;#39;Drag&amp;#38;Drop&amp;#39; functionality from solution explorer in VS.NET 2005 onto my C&amp;#35; winform. &lt;br /&gt;I have 2 projects within same solution &amp;#40;one C&amp;#35; project, and other MFC C&amp;#43;&amp;#43; project&amp;#41;. I have implemented the following events &amp;#38; properties in my C&amp;#35; winform.&lt;br /&gt;My winform contains just one textbox.&lt;br /&gt;1. DragEnter - for textbox&lt;br /&gt;2. DragOver - for textbox&lt;br /&gt;3. AllowDrop property - for textbox&lt;br /&gt;Also tried with different &amp;#39;DragDropEffects&amp;#39; enumeration values.&lt;br /&gt;&lt;br /&gt;Problem&amp;#58; &lt;br /&gt;When I &amp;#39;Drag&amp;#38;Drop&amp;#39; C&amp;#35; file to my winform, I am able to retrieve the dragged project file path, but the same does not work with C&amp;#43;&amp;#43;&amp;#47;Header files and even with project file &amp;#40;csproj, vcproj, etc&amp;#41;. While dragging C&amp;#43;&amp;#43;&amp;#47;Header file, the mouse cursor shows &amp;#39;None&amp;#39;  &amp;#40;a circle with a line through it&amp;#41;, but works fine with C&amp;#35; file.&lt;br /&gt;&lt;br /&gt;Can anyone please help me&amp;#63; I have attached the sample C&amp;#35; winform project.&lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt;Ahmed Kabir&lt;br /&gt;ahmed.kabir&amp;#64;yahoo.com&lt;br /&gt;</description><author>ahmedkabir</author><pubDate>Wed, 22 Apr 2009 20:30:49 GMT</pubDate><guid isPermaLink="false">Created Issue: VS.NET Solution Explorer Drag &amp; Drop for C++ projects does not work 20090422083049P</guid></item><item><title>Created Issue: Adding an item to a project with subfolders asserts</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=13064</link><description>The assert is in OAProjectItems.cs at line 193&amp;#58;&lt;br /&gt;&lt;br /&gt;Debug.Assert&amp;#40;nodeAdded &amp;#33;&amp;#61; null, &amp;#34;We should have been able to find the new element in the hierarchy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It fails when trying to find a hierarchy node because the name that is passed in is an absolute path, and the virtual node name of each tree node is just the file name with no path information included. The problem doesn&amp;#39;t seem to occur with flat projects. I fixed the problem by changing HierarchyNode.FindChild&amp;#40;&amp;#41; to check for FileNodes in the search loop, and check &amp;#34;name&amp;#34; against the Url property of FileNodes.&lt;br /&gt;</description><author>oeieno</author><pubDate>Tue, 21 Apr 2009 21:45:07 GMT</pubDate><guid isPermaLink="false">Created Issue: Adding an item to a project with subfolders asserts 20090421094507P</guid></item><item><title>Commented Issue: OAProperties.Item can't find "URL" index</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=12730</link><description>I&amp;#39;m creating a language service for a simple DSL.  While working in the experimental hive, MPFProj quite often throws an exception in OAProperties.Item when the index argument equals &amp;#34;URL&amp;#34;.  The call stack shows nothing but &amp;#91;External Code&amp;#93; and this function.  The exception occurs when I close the solution or exit Visual Studio, but it also occurs sometimes when I open the project.  I can&amp;#39;t seem to determine the origin of the &amp;#34;URL&amp;#34; property, why it&amp;#39;s needed, or how to provide it.&lt;br /&gt;Comments: ** Comment from web user: cmaxo ** &lt;p&gt;I confirmed that by adding the code from kobrigo as a property on NodeProperties the exception goes away. Can anybody explain why the samples don&amp;#39;t have this issue or where the root of the problem comes from&amp;#63; I feel dirty having this little hack and no explanation.&lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;cmaxo&lt;/p&gt;</description><author>cmaxo</author><pubDate>Thu, 09 Apr 2009 22:01:41 GMT</pubDate><guid isPermaLink="false">Commented Issue: OAProperties.Item can't find "URL" index 20090409100141P</guid></item><item><title>Commented Issue: OAProperties.Item can't find "URL" index</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=12730</link><description>I&amp;#39;m creating a language service for a simple DSL.  While working in the experimental hive, MPFProj quite often throws an exception in OAProperties.Item when the index argument equals &amp;#34;URL&amp;#34;.  The call stack shows nothing but &amp;#91;External Code&amp;#93; and this function.  The exception occurs when I close the solution or exit Visual Studio, but it also occurs sometimes when I open the project.  I can&amp;#39;t seem to determine the origin of the &amp;#34;URL&amp;#34; property, why it&amp;#39;s needed, or how to provide it.&lt;br /&gt;Comments: ** Comment from web user: kobrigo ** &lt;p&gt;I did not slove the issue I just added the missing attribute so stop the exeptions for now. Here is what I did.&lt;br /&gt;I have added in the file NodeProperties.cs on the class NodeProperties the following attribute which solved the issue&amp;#58;&lt;br /&gt;        &amp;#91;SRCategoryAttribute&amp;#40;SR.Misc&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;LocDisplayName&amp;#40;SR.URL&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;SRDescriptionAttribute&amp;#40;SR.URL&amp;#41;&amp;#93;&lt;br /&gt;        public string URL&lt;br /&gt;        &amp;#123;&lt;br /&gt;            get&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return this.Node.Url&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;/p&gt;&lt;p&gt;Hope this helps you&lt;/p&gt;</description><author>kobrigo</author><pubDate>Sun, 29 Mar 2009 11:37:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: OAProperties.Item can't find "URL" index 20090329113750A</guid></item><item><title>Created Issue: OAProperties.Item can't find "URL" index</title><link>http://mpfproj.codeplex.com/WorkItem/View.aspx?WorkItemId=12730</link><description>I&amp;#39;m creating a language service for a simple DSL.  While working in the experimental hive, MPFProj quite often throws an exception in OAProperties.Item when the index argument equals &amp;#34;URL&amp;#34;.  The call stack shows nothing but &amp;#91;External Code&amp;#93; and this function.  The exception occurs when I close the solution or exit Visual Studio, but it also occurs sometimes when I open the project.  I can&amp;#39;t seem to determine the origin of the &amp;#34;URL&amp;#34; property, why it&amp;#39;s needed, or how to provide it.&lt;br /&gt;</description><author>canopus51</author><pubDate>Tue, 03 Mar 2009 00:47:23 GMT</pubDate><guid isPermaLink="false">Created Issue: OAProperties.Item can't find "URL" index 20090303124723A</guid></item><item><title>Created Issue: ProjectNode.WalkSourceProjectAndAdd() contains bug</title><link>http://www.codeplex.com/mpfproj/WorkItem/View.aspx?WorkItemId=12579</link><description>Problem Description&amp;#58; WalkSourceProjectAndAdd&amp;#40;&amp;#41; method of ProjectNode class contains 2 errors. The bug appears in Drag&amp;#39;n&amp;#39;Drop operations. When I drag and drop folder which contains several file nodes it tries to create the same file several times.&lt;br /&gt;&lt;br /&gt;Your code&amp;#58;&lt;br /&gt;------------------&lt;br /&gt;if &amp;#40;addSiblings&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#47;&amp;#47; Then look at siblings&lt;br /&gt;currentItemID &amp;#61; itemId&amp;#59;&lt;br /&gt;while &amp;#40;currentItemID &amp;#33;&amp;#61; VSConstants.VSITEMID_NIL&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;variant &amp;#61; null&amp;#59;&lt;br /&gt;ErrorHandler.ThrowOnFailure&amp;#40;sourceHierarchy.GetProperty&amp;#40;itemId, &amp;#40;int&amp;#41;__VSHPROPID.VSHPROPID_NextVisibleSibling, out variant&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;currentItemID &amp;#61; &amp;#40;uint&amp;#41;&amp;#40;int&amp;#41;variant&amp;#59;&lt;br /&gt;WalkSourceProjectAndAdd&amp;#40;sourceHierarchy, currentItemID, targetNode, true&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;------------------&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve changed the code this way&amp;#58;&lt;br /&gt;-------------------&lt;br /&gt;....&lt;br /&gt;variant &amp;#61; null&amp;#59;&lt;br /&gt;ErrorHandler.ThrowOnFailure&amp;#40;sourceHierarchy.GetProperty&amp;#40;currentItemID, &amp;#40;int&amp;#41;__VSHPROPID.VSHPROPID_NextVisibleSibling, out variant&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;currentItemID &amp;#61; &amp;#40;uint&amp;#41;&amp;#40;int&amp;#41;variant&amp;#59;&lt;br /&gt;WalkSourceProjectAndAdd&amp;#40;sourceHierarchy, currentItemID, targetNode, false&amp;#41;&amp;#59;&lt;br /&gt;.....&lt;br /&gt;-------------------&lt;br /&gt;&lt;br /&gt;First of all you need to invoke GetProperty&amp;#40;&amp;#41; with currentItemID parameter and second WalkSourceProjectAndAdd&amp;#40;&amp;#41; should be called with addSibling&amp;#61;false.&lt;br /&gt;Otherwise it enumerates sibling nodes in wrong way and calls this method several times for the same node.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Repro Steps&amp;#58;&lt;br /&gt;Drag&amp;#39;n&amp;#39;Drop folder containing 2 file nodes.&lt;br /&gt;&lt;br /&gt;Actual Results&amp;#58;&lt;br /&gt;ApplicationException is risen in ProjectNode.AddNodeIfTargetExistInStorage&amp;#40;&amp;#41; method.&lt;br /&gt;&lt;br /&gt;Expected Results&amp;#58;&lt;br /&gt;Drag&amp;#39;n&amp;#39;Drop works fine.&lt;br /&gt;</description><author>QuanTo</author><pubDate>Tue, 10 Feb 2009 03:31:06 GMT</pubDate><guid isPermaLink="false">Created Issue: ProjectNode.WalkSourceProjectAndAdd() contains bug 20090210033106A</guid></item><item><title>Created Issue: Fix: Unloading project without a References Node</title><link>http://www.codeplex.com/mpfproj/WorkItem/View.aspx?WorkItemId=12453</link><description>If the references node factory in ProjectNode is overridden to always return null. The project will trash when the project is unloaded.&lt;br /&gt;&lt;br /&gt;See patch to resolve the issue.&lt;br /&gt;&lt;br /&gt;Paul&lt;br /&gt;</description><author>paullunt</author><pubDate>Fri, 23 Jan 2009 21:39:19 GMT</pubDate><guid isPermaLink="false">Created Issue: Fix: Unloading project without a References Node 20090123093919P</guid></item><item><title>Commented Issue: MPF projects in the solution block "Create Unit Tests" wizard</title><link>http://www.codeplex.com/mpfproj/WorkItem/View.aspx?WorkItemId=11866</link><description>To repro, you have to do the following&amp;#58;&lt;br /&gt;1. You create a solution, with a standard c&amp;#35; class library.&lt;br /&gt;2. You add a custom project to the solution that is based on MPF.&lt;br /&gt;3. Go to &amp;#34;Class1&amp;#34; class of the class library.&lt;br /&gt;4. Select &amp;#34;Create Unit Tests...&amp;#34; from the context menu of the class.&lt;br /&gt;The window will be empty, and you cannot select Class1. If you unload the MPF-based project, the wizard works again.&lt;br /&gt;Comments: ** Comment from web user: GasparNagy ** &lt;p&gt;Here is my fix for the problem. The change is in the Output.cs and I have extended the unit test environment as well to be able to test this.&lt;/p&gt;</description><author>GasparNagy</author><pubDate>Fri, 05 Dec 2008 06:58:35 GMT</pubDate><guid isPermaLink="false">Commented Issue: MPF projects in the solution block "Create Unit Tests" wizard 20081205065835A</guid></item><item><title>Commented Issue: MPF projects in the solution block "Create Unit Tests" wizard</title><link>http://www.codeplex.com/mpfproj/WorkItem/View.aspx?WorkItemId=11866</link><description>To repro, you have to do the following&amp;#58;&lt;br /&gt;1. You create a solution, with a standard c&amp;#35; class library.&lt;br /&gt;2. You add a custom project to the solution that is based on MPF.&lt;br /&gt;3. Go to &amp;#34;Class1&amp;#34; class of the class library.&lt;br /&gt;4. Select &amp;#34;Create Unit Tests...&amp;#34; from the context menu of the class.&lt;br /&gt;The window will be empty, and you cannot select Class1. If you unload the MPF-based project, the wizard works again.&lt;br /&gt;Comments: ** Comment from web user: GasparNagy ** &lt;p&gt;It seems that the problem is, that VS gets the OUTPUTLOC property from the Microsoft.VisualStudio.Project.Output class of the MPF-based project &amp;#40;get_Property&amp;#41;. As this property is not supported, the method throws a NotImplementedException, but the wizard does not catch the exceptions by project so the entire wizard is disabled.&lt;/p&gt;&lt;p&gt;I have fixed it for myself by returning the output assembly path for this property&amp;#58;&lt;br /&gt;if &amp;#40;string.Equals&amp;#40;szProperty, &amp;#34;OUTPUTLOC&amp;#34;, StringComparison.OrdinalIgnoreCase&amp;#41;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    value &amp;#61; output.GetMetadata&amp;#40;ProjectFileConstants.Include&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;/p&gt;&lt;p&gt;It could be also fixed in the ProjectElement class as well, but this is rather related to the IVsOutput2 interface, so it is better here IMHO. I did not find any documentation for OUTPUTLOC anyway...&lt;/p&gt;&lt;p&gt;It is very good that MPF came to codeplex. I would be happy to contribute as well.&lt;/p&gt;</description><author>GasparNagy</author><pubDate>Thu, 04 Dec 2008 14:41:42 GMT</pubDate><guid isPermaLink="false">Commented Issue: MPF projects in the solution block "Create Unit Tests" wizard 20081204024142P</guid></item><item><title>Created Issue: MPF projects in the solution block "Create Unit Tests" wizard</title><link>http://www.codeplex.com/mpfproj/WorkItem/View.aspx?WorkItemId=11866</link><description>To repro, you have to do the following&amp;#58;&lt;br /&gt;1. You create a solution, with a standard c&amp;#35; class library.&lt;br /&gt;2. You add a custom project to the solution that is based on MPF.&lt;br /&gt;3. Go to &amp;#34;Class1&amp;#34; class of the class library.&lt;br /&gt;4. Select &amp;#34;Create Unit Tests...&amp;#34; from the context menu of the class.&lt;br /&gt;The window will be empty, and you cannot select Class1. If you unload the MPF-based project, the wizard works again.&lt;br /&gt;</description><author>GasparNagy</author><pubDate>Thu, 04 Dec 2008 14:31:36 GMT</pubDate><guid isPermaLink="false">Created Issue: MPF projects in the solution block "Create Unit Tests" wizard 20081204023136P</guid></item><item><title>Closed Issue: MPF ProjectNode.GetProjectOptions() returns wrong configuration options</title><link>http://www.codeplex.com/mpfproj/WorkItem/View.aspx?WorkItemId=11100</link><description>Problem Description&amp;#58; There appears to be a bug in ProjectNode.GetProjectOptions&amp;#40;&amp;#41;. At the top of the method, it checks to see if the current options field is not null, and if not, returns the existing options. &lt;br /&gt;&lt;br /&gt;This logic is wrong, because it doesn&amp;#39;t check to see if the cached options object matches the configuration specified in the config argument. This causes incorrect configuration options to be returned to the caller. Here is one scenario&amp;#58;&lt;br /&gt;&lt;br /&gt;In a release configuration, user presses F5 to debug which cases ProjectConfig.DebugLaunch&amp;#40;&amp;#41; to be called. If the &amp;#34;StartProgram&amp;#34; property is not set, GetOutputAssembly&amp;#40;&amp;#41; is called to get the filename to debug. GetOutputAssembly&amp;#40;&amp;#41; calls GetProjectOptions&amp;#40; &amp;#34;Release&amp;#34; &amp;#41; but returns the ProjectOptions for a debug configuration if that was the last configuration that was read and cached.&lt;br /&gt;&lt;br /&gt;This causes the path of the output assembly in a debug configuration to be returned. End result is that pressing F5 runs the debug build of the assembly, even in release mode.&lt;br /&gt;&lt;br /&gt;Not sure what the best way to fix this is, but since the options field is private and there is no public or protected property around it, it can&amp;#39;t be worked around in the project node subclass and requires a change in the base class code. &lt;br /&gt;&lt;br /&gt;This bug exists in VS2005 as well. Could we please get this fixed in the next update to the SDK&amp;#63;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Repro Steps&amp;#58;&lt;br /&gt;See description&lt;br /&gt;&lt;br /&gt;Actual Results&amp;#58;&lt;br /&gt;Wrong configuration data is returned causing Debug and Start Without Debugging commands to invoke the wrong file&amp;#33;&lt;br /&gt;&lt;br /&gt;Expected Results&amp;#58;&lt;br /&gt;The correct data should be returned&lt;br /&gt;</description><author>DmitryPavlov</author><pubDate>Wed, 03 Dec 2008 07:14:32 GMT</pubDate><guid isPermaLink="false">Closed Issue: MPF ProjectNode.GetProjectOptions() returns wrong configuration options 20081203071432A</guid></item><item><title>Commented Issue: ProjectNode does not allow SVsSccManager, SVsQueryEditQuerySave to be overrided to use custom SCC provider</title><link>http://www.codeplex.com/mpfproj/WorkItem/View.aspx?WorkItemId=11417</link><description>The current interface and implementation of ProjectNode.cs does not allow end user to change the SCC provider other than the default SVsSccManager or SVsQueryEditQuerySave.&lt;br /&gt;&lt;br /&gt;sited methods are &amp;#58;&lt;br /&gt;internal bool QueryEditProjectFile&amp;#40;bool suppressUI&amp;#41;&lt;br /&gt;protected void RegisterSccProject&amp;#40;&amp;#41;&lt;br /&gt;protected void UnRegisterProject&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;in all 3 functions, when the end user needs to implement custom SCC provider packages &amp;#40;in VS Isolated or integrated shell&amp;#41;, the methods are closed off from extending and method always returns the default SCC provider and not the end-user custom SCC provider, causing SCC operations to be incorrectly executed.&lt;br /&gt;&lt;br /&gt;I am proposing to fix this &amp;#40;add extensibility&amp;#41; by changing the interface to the following&amp;#58;&lt;br /&gt;&lt;br /&gt;protected internal virtual bool QueryEditProjectFile&amp;#40;bool suppressUI&amp;#41;&lt;br /&gt;protected virtual void RegisterSccProject&amp;#40;&amp;#41;&lt;br /&gt;protected virtual void UnRegisterProject&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;Similar approaches were taken on other functions, as well as in the HierarchyNode.cs class.&lt;br /&gt;Comments: ** Comment from web user: DmitryPavlov ** &lt;p&gt;HI ProgrammerJoe, &lt;/p&gt;&lt;p&gt;Do you agree that this issue should be closed due to alinconstantin arguments&amp;#63;&lt;br /&gt;&lt;/p&gt;</description><author>DmitryPavlov</author><pubDate>Wed, 03 Dec 2008 06:55:49 GMT</pubDate><guid isPermaLink="false">Commented Issue: ProjectNode does not allow SVsSccManager, SVsQueryEditQuerySave to be overrided to use custom SCC provider 20081203065549A</guid></item></channel></rss>