<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>mpfproj Forum Rss Feed</title><link>http://www.codeplex.com/mpfproj/Thread/List.aspx</link><description>mpfproj Forum Rss Description</description><item><title>New Post: For Visual Studio 2010, please use site : http://mpfproj10.codeplex.com/ </title><link>http://mpfproj.codeplex.com/Thread/View.aspx?ThreadId=83793</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;This site is dedicated for VS 2008 MPFProj discussions. If you&amp;rsquo;re using VS 2010, we now have source code available for Release Candidate at &lt;a href="http://mpfproj10.codeplex.com/"&gt;http://mpfproj10.codeplex.com/&lt;/a&gt; site.&lt;/p&gt;&lt;/div&gt;</description><author>selmai</author><pubDate>Tue, 09 Feb 2010 19:35:51 GMT</pubDate><guid isPermaLink="false">New Post: For Visual Studio 2010, please use site : http://mpfproj10.codeplex.com/  20100209073551P</guid></item><item><title>New Post: Customise properties for certain file types</title><link>http://mpfproj.codeplex.com/Thread/View.aspx?ThreadId=71792</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;You are welcome, Mike!&lt;/p&gt;
&lt;p&gt;1. You should write in you custom project class code like this:&lt;/p&gt;
&lt;p&gt;public override FileNode CreateFileNode(ProjectElement item)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (item == null)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new ArgumentNullException(&amp;quot;item&amp;quot;);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new YourCustomFileNode(this, item);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;2. Inherit YourCustomFileNode class from MPF FileNode class&lt;/p&gt;
&lt;p&gt;3. Override NodeProperties creation in custom file node:&lt;/p&gt;
&lt;p&gt;protected override NodeProperties CreatePropertiesObject()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new YourCustomFileNodeProperties(this);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;4. And inherit YourCustomFileNodeProperties from MPF FileNodeProperties class&lt;/p&gt;
&lt;p&gt;NOTE: I'm not sure it is correct but I remember right I had problems with custom properties class until I added this property to it:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Browsable(false)]&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;public string SubType&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;get&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return Node.SubType;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;set&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Node.SubType = value;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Hope that saves the time.&lt;/p&gt;
&lt;p&gt;Another tip - to understand how to expose properties - look at the implementation of some MPF NodeProperties class inheritors.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best wishes,&lt;/p&gt;
&lt;p&gt;Dmitry Pavlov&lt;/p&gt;&lt;/div&gt;</description><author>DmitryPavlov</author><pubDate>Tue, 13 Oct 2009 11:26:06 GMT</pubDate><guid isPermaLink="false">New Post: Customise properties for certain file types 20091013112606A</guid></item><item><title>New Post: Customise properties for certain file types</title><link>http://mpfproj.codeplex.com/Thread/View.aspx?ThreadId=71792</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Dmitry,&lt;/p&gt;
&lt;p&gt;We&amp;nbsp;use a custom project type.&lt;/p&gt;
&lt;p&gt;Your suggestion in point 2 is exactly what I was looking for!&lt;/p&gt;
&lt;p&gt;Thanks very much!&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;/div&gt;</description><author>mikeyg</author><pubDate>Tue, 13 Oct 2009 11:12:35 GMT</pubDate><guid isPermaLink="false">New Post: Customise properties for certain file types 20091013111235A</guid></item><item><title>New Post: Customise properties for certain file types</title><link>http://mpfproj.codeplex.com/Thread/View.aspx?ThreadId=71792</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;I'm not I understood the situation yet, so I'd like to ask some questions to understand it:&lt;/p&gt;
&lt;p&gt;1. Do you use custom project type based or you extend C# or other project types?&lt;/p&gt;
&lt;p&gt;2. In case your answer for Q1 - did you tried to create different custom FileNode inheritors and override NodeProperties for them with specific set of properties for different file types?&lt;/p&gt;
&lt;p&gt;Best wishes,&lt;/p&gt;
&lt;p&gt;Dmitry Pavlov&lt;/p&gt;&lt;/div&gt;</description><author>DmitryPavlov</author><pubDate>Tue, 13 Oct 2009 10:02:52 GMT</pubDate><guid isPermaLink="false">New Post: Customise properties for certain file types 20091013100252A</guid></item><item><title>New Post: Customise properties for certain file types</title><link>http://mpfproj.codeplex.com/Thread/View.aspx?ThreadId=71792</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My team use a custom project type and I want to add custom properties to the properties window depending on the file extension or file type. e.g. if its a css file then I want to see an extra property that is specific to that file type. Same would apply to js files etc.&lt;/p&gt;
&lt;p&gt;So we have our own version of the &lt;span style="color:#2b91af;font-size:x-small"&gt;&lt;span style="color:#2b91af;font-size:x-small"&gt;SingleFileGeneratorNodeProperties&lt;/span&gt;&lt;/span&gt; class which allows us to add properties, but this will mean that these properties are available for all file types, when we would like to make them specific as mentioned above.&lt;/p&gt;
&lt;p&gt;Please help.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>mikeyg</author><pubDate>Tue, 13 Oct 2009 09:50:34 GMT</pubDate><guid isPermaLink="false">New Post: Customise properties for certain file types 20091013095034A</guid></item><item><title>New Post: How to control the contex menu over the FileNode</title><link>http://mpfproj.codeplex.com/Thread/View.aspx?ThreadId=56881</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have been trying to modify the context menu that opens when you right-click on a file node.&lt;/p&gt;
&lt;p&gt;Specifically I am trying to remove the rename command from that menu. My cusrom project should not enable changing the name of some of the files.&lt;/p&gt;
&lt;p&gt;I was able to remove the command from the context menu with changing the function in HierarchyNode called:&lt;/p&gt;
&lt;p&gt;protected virtual QueryStatusResult QueryStatusCommandFromOleCommandTarget(Guid cmdGroup, uint cmd, out bool handled)&lt;/p&gt;
&lt;p&gt;I've removed the line&lt;/p&gt;
&lt;p&gt;case VsCommands.Rename:&lt;/p&gt;
&lt;p&gt;This function is being called if the call has originated from QueryStatus of the IOleCommandTarget interface. but there is anothen similar function called QueryStatusCommand of the IVsUIHierarchy interface.&lt;/p&gt;
&lt;p&gt;My question is: how can I know &lt;strong&gt;when&lt;/strong&gt; these functions are being called and &lt;strong&gt;what&lt;/strong&gt; commands should be blocked in what function?&lt;/p&gt;
&lt;p&gt;Thanks in advnace&lt;/p&gt;
&lt;p&gt;Eyal&lt;/p&gt;&lt;/div&gt;</description><author>kobrigo</author><pubDate>Wed, 20 May 2009 08:15:03 GMT</pubDate><guid isPermaLink="false">New Post: How to control the contex menu over the FileNode 20090520081503A</guid></item><item><title>New Post: Flavored "Outer" Project</title><link>http://mpfproj.codeplex.com/Thread/View.aspx?ThreadId=54726</link><description>&lt;div style="line-height: normal;"&gt;It appears MPF (Managed Package Framework) is much larger than just MPFProj (&lt;strong&gt;Microsoft.VisualStudio.Package&lt;/strong&gt;). MPFProj is ONLY used for &amp;quot;Inner&amp;quot; &amp;quot;REAL&amp;quot; custom Projects. If you want to flavor MPFProj will not help.
&lt;/div&gt;</description><author>flagrant99</author><pubDate>Fri, 01 May 2009 18:15:11 GMT</pubDate><guid isPermaLink="false">New Post: Flavored "Outer" Project 20090501061511P</guid></item><item><title>New Post: Flavored "Outer" Project</title><link>http://mpfproj.codeplex.com/Thread/View.aspx?ThreadId=54726</link><description>&lt;div style="line-height: normal;"&gt;Why does MPF only support &amp;quot;Inner&amp;quot; &amp;quot;REAL&amp;quot; custom Projects and NOT Flavored &amp;quot;Outer&amp;quot; Project like  FlavoredProjectFactoryBase/FlavoredProjectBase from VS 2008 SDK. In other words why are these in seperate SDK's?
&lt;/div&gt;</description><author>flagrant99</author><pubDate>Tue, 28 Apr 2009 15:10:11 GMT</pubDate><guid isPermaLink="false">New Post: Flavored "Outer" Project 20090428031011P</guid></item><item><title>New Post: Build commands</title><link>http://www.codeplex.com/mpfproj/Thread/View.aspx?ThreadId=48036</link><description>&lt;div style="line-height: normal;"&gt;I am creating a Custom Project.  I followed mostly the WOW example.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;However, my Build Solution command fails with and &amp;quot;Unexpected Error&amp;quot; and I have no Project specific build commands.  What am I missing?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;My code is similar enough to the WOW Studio example, but it has Build enabled my does not.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Are their specific functions needed, specific properties etc. to show this is a buildable project?  &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;This is not using .NET it has custom MSBuild targets.  The project file does build using MSBuild from the command line.  I just cannot get the menus to show.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;</description><author>djreichard</author><pubDate>Fri, 20 Feb 2009 20:06:21 GMT</pubDate><guid isPermaLink="false">New Post: Build commands 20090220080621P</guid></item><item><title>New Post: How to hide files from the Solution Explorer</title><link>http://www.codeplex.com/mpfproj/Thread/View.aspx?ThreadId=43541</link><description>&lt;div style="line-height: normal;"&gt;I developed CustomProject based on MPFProj.&lt;br&gt;
My project template contains files that I want to hide from Solution Explorer. (Assume that All the files with specific extension should be hidden)&lt;br&gt;
However those files logically must be included in the project system&lt;br&gt;
How can I do it easily?&lt;br&gt;
Thanks, &lt;br&gt;
    Aviram.&lt;br&gt;
&lt;/div&gt;</description><author>webmanAv</author><pubDate>Tue, 06 Jan 2009 16:33:10 GMT</pubDate><guid isPermaLink="false">New Post: How to hide files from the Solution Explorer 20090106043310P</guid></item><item><title>New Post: Running the debugger without compiling the project</title><link>http://www.codeplex.com/mpfproj/Thread/View.aspx?ThreadId=42981</link><description>&lt;div style="line-height: normal;"&gt;How do I configure MPFProj to start running in debug mode when pressing F5, to run without compiling the code with msbuild?&lt;br&gt;
&lt;/div&gt;</description><author>kobrigo</author><pubDate>Wed, 24 Dec 2008 15:19:23 GMT</pubDate><guid isPermaLink="false">New Post: Running the debugger without compiling the project 20081224031923P</guid></item><item><title>New Post: Haw I can get permission to commit changes?</title><link>http://www.codeplex.com/mpfproj/Thread/View.aspx?ThreadId=40745</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
We work on VS integration with Nemerle language.&lt;br&gt;
We using MPF in this project.&lt;br&gt;
Can I get account with permission to commit changes in mpfproj?&lt;br&gt;
&lt;/div&gt;</description><author>VladD2</author><pubDate>Tue, 25 Nov 2008 15:31:08 GMT</pubDate><guid isPermaLink="false">New Post: Haw I can get permission to commit changes? 20081125033108P</guid></item><item><title>New Post: Who can help me with starting contribution?</title><link>http://www.codeplex.com/mpfproj/Thread/View.aspx?ThreadId=38649</link><description>&lt;div style="line-height: normal;"&gt;&lt;span style="font-size:12pt;font-family:'times new roman','serif'"&gt;Hello,&lt;br&gt;
&lt;/span&gt;
&lt;p style="margin-bottom:0.0001pt;line-height:normal"&gt;&lt;span style="font-size:12pt;font-family:'times new roman','serif'"&gt;I’m interesting in who can help me to start contributing?&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom:0.0001pt;line-height:normal"&gt;&lt;span style="font-size:12pt;font-family:'times new roman','serif'"&gt;I have signed Assignment Agreement covering my contribution to the Visual Studio Managed Package Framework for MPFProj. And I’ve been informed by Jennifer Crow [Contribution Assignment Administrator from Source Asset Management] about receiving my signed Assignment Agreement.&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom:0.0001pt;line-height:normal"&gt;&lt;span style="font-size:12pt;font-family:'times new roman','serif'"&gt;She also said me following: “Please send any questions regarding this agreement or the project itself to the project owner by submitting a discussion item to the project’s discussion board.”&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom:0.0001pt;line-height:normal"&gt;&lt;span style="font-size:12pt;font-family:'times new roman','serif'"&gt;What are next steps?&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom:0.0001pt;line-height:normal"&gt;&lt;span style="font-size:12pt;font-family:'times new roman','serif'"&gt;Best wishes, &lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom:0.0001pt;line-height:normal"&gt;&lt;span style="font-size:12pt;font-family:'times new roman','serif'"&gt;Dmitry Pavlov&lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>DmitryPavlov</author><pubDate>Tue, 28 Oct 2008 06:36:01 GMT</pubDate><guid isPermaLink="false">New Post: Who can help me with starting contribution? 20081028063601A</guid></item><item><title>New Post: How we can contribute to the project?</title><link>http://www.codeplex.com/mpfproj/Thread/View.aspx?ThreadId=34203</link><description>&lt;div style="line-height: normal;"&gt;Hi guys, &lt;br&gt;
&lt;br&gt;
I'm interesting about how we (non-Microsoft guys) can contribute the code to this project?&lt;br&gt;
&lt;br&gt;
Best wishes, &lt;br&gt;
Dmitry Pavlov &lt;br&gt;
[aka dimaka]
&lt;/div&gt;</description><author>dimaka</author><pubDate>Mon, 25 Aug 2008 10:21:32 GMT</pubDate><guid isPermaLink="false">New Post: How we can contribute to the project? 20080825102132A</guid></item></channel></rss>