<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Sayed Ibrahim Hashimi - MSBuild, Web Deploy (MSDeploy), ASP.NET - WPF</title>
    <link>http://sedodream.com/</link>
    <description>MSBuild, C#, Visual Studio and more</description>
    <language>en-us</language>
    <copyright>Sayed Ibrahim Hashimi</copyright>
    <lastBuildDate>Sat, 08 May 2010 05:33:26 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>sayed.hashimi@gmail.com</managingEditor>
    <webMaster>sayed.hashimi@gmail.com</webMaster>
    <item>
      <trackback:ping>http://sedodream.com/Trackback.aspx?guid=9bd5e258-32d5-4e39-9f1e-24949efac3e3</trackback:ping>
      <pingback:server>http://sedodream.com/pingback.aspx</pingback:server>
      <pingback:target>http://sedodream.com/PermaLink,guid,9bd5e258-32d5-4e39-9f1e-24949efac3e3.aspx</pingback:target>
      <dc:creator>Ibrahim</dc:creator>
      <wfw:comment>http://sedodream.com/CommentView,guid,9bd5e258-32d5-4e39-9f1e-24949efac3e3.aspx</wfw:comment>
      <wfw:commentRss>http://sedodream.com/SyndicationService.asmx/GetEntryCommentsRss?guid=9bd5e258-32d5-4e39-9f1e-24949efac3e3</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Recently I had the chance to work on a <a href="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation">WPF</a> app
and it was behaving very strangely when I built and ran the application. For instance
I tried to debug the application from Visual Studio and I received an error staging
“<em>Visual Studio cannot start debugging because the debug target ‘PATH HERE’ is
missing. Please build the project and retry, or set the OutputPath and AssemblyName
properties appropriately to point at the correct location for the target assembly.</em>”
</p>
        <p>
          <a href="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/vs-build-error-01_4.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="vs-build-error-01" border="0" alt="vs-build-error-01" src="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/vs-build-error-01_thumb_1.png" />
          </a>
        </p>
        <p>
So I checked the properties, every thing looked good. I even built the project from
the command line and it built fine. Anywayz at some point after that I was able to
debug the app. But then I noticed that the UI was not getting updated with my changes.
So I started digging a bit deeper. I noticed that when I ran a Clean from Visual Studio
the output files for that particular project. 
</p>
        <p>
I then rebuilt the solution in Visual Studio. From the Output window I selected all
the text,copied it, and then pasted that into an editor. After looking at the message
</p>
        <p>
------ Skipped Clean: Project: R…ion: Debug Any CPU ------ 
<br />
Project not selected to build for this solution configuration 
<br />
------ Skipped Clean: Project: R…Admin.Wpf, Configuration: Debug x86 ------ 
<br /><u><strong>Project not selected to build for this solution configuration </strong></u><br />
------ Clean started: Project: Test…er, Configuration: Debug Any CPU ------ 
<br />
Build started 5/8/2010 1:10:02 AM.
</p>
        <p>
I immediately knew that there was an incorrect value in the build configuration manager.
You can find the configuration manager from the toolbar.
</p>
        <p>
          <a href="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/image_4.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/image_thumb_1.png" width="176" height="98" />
          </a>
        </p>
        <p>
Here is what I found.
</p>
        <p>
          <a href="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/image_6.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/image_thumb_2.png" />
          </a>
        </p>
        <p>
In this dialog there are two project set not to build for Debug builds; the DB project
and the Wpf project. The DB project is OK to not build on Debug if there are a small
% of DB changes versus code changes. If that is the case the devs can just build the
DB project manually when the change it. In the case of the Wpf project, it should
be set to build and the fact that it wasn’t was causing all the issues. So I checked
the build check box, clicked the Close button and it was all good. You should also
make sure that all other configuration as setup correctly. You don’t want to get bitten
by this again.
</p>
        <p>
Sayed Ibrahim Hashimi
</p>
      </body>
      <title>Visual Studio projects not building anymore?</title>
      <guid isPermaLink="false">http://sedodream.com/PermaLink,guid,9bd5e258-32d5-4e39-9f1e-24949efac3e3.aspx</guid>
      <link>http://sedodream.com/2010/05/08/VisualStudioProjectsNotBuildingAnymore.aspx</link>
      <pubDate>Sat, 08 May 2010 05:33:26 GMT</pubDate>
      <description>&lt;p&gt;
Recently I had the chance to work on a &lt;a href="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation"&gt;WPF&lt;/a&gt; app
and it was behaving very strangely when I built and ran the application. For instance
I tried to debug the application from Visual Studio and I received an error staging
“&lt;em&gt;Visual Studio cannot start debugging because the debug target ‘PATH HERE’ is
missing. Please build the project and retry, or set the OutputPath and AssemblyName
properties appropriately to point at the correct location for the target assembly.&lt;/em&gt;”
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/vs-build-error-01_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="vs-build-error-01" border="0" alt="vs-build-error-01" src="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/vs-build-error-01_thumb_1.png" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
So I checked the properties, every thing looked good. I even built the project from
the command line and it built fine. Anywayz at some point after that I was able to
debug the app. But then I noticed that the UI was not getting updated with my changes.
So I started digging a bit deeper. I noticed that when I ran a Clean from Visual Studio
the output files for that particular project. 
&lt;/p&gt;
&lt;p&gt;
I then rebuilt the solution in Visual Studio. From the Output window I selected all
the text,copied it, and then pasted that into an editor. After looking at the message
&lt;/p&gt;
&lt;p&gt;
------ Skipped Clean: Project: R…ion: Debug Any CPU ------ 
&lt;br /&gt;
Project not selected to build for this solution configuration 
&lt;br /&gt;
------ Skipped Clean: Project: R…Admin.Wpf, Configuration: Debug x86 ------ 
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Project not selected to build for this solution configuration &lt;/strong&gt;&lt;/u&gt; 
&lt;br /&gt;
------ Clean started: Project: Test…er, Configuration: Debug Any CPU ------ 
&lt;br /&gt;
Build started 5/8/2010 1:10:02 AM.
&lt;/p&gt;
&lt;p&gt;
I immediately knew that there was an incorrect value in the build configuration manager.
You can find the configuration manager from the toolbar.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/image_thumb_1.png" width="176" height="98" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Here is what I found.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://sedodream.com/content/binary/WindowsLiveWriter/Projectsnotbuildinganymore_131B/image_thumb_2.png" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
In this dialog there are two project set not to build for Debug builds; the DB project
and the Wpf project. The DB project is OK to not build on Debug if there are a small
% of DB changes versus code changes. If that is the case the devs can just build the
DB project manually when the change it. In the case of the Wpf project, it should
be set to build and the fact that it wasn’t was causing all the issues. So I checked
the build check box, clicked the Close button and it was all good. You should also
make sure that all other configuration as setup correctly. You don’t want to get bitten
by this again.
&lt;/p&gt;
&lt;p&gt;
Sayed Ibrahim Hashimi
&lt;/p&gt;</description>
      <comments>http://sedodream.com/CommentView,guid,9bd5e258-32d5-4e39-9f1e-24949efac3e3.aspx</comments>
      <category>Visual Studio</category>
      <category>Visual Studio 2010</category>
      <category>WPF</category>
    </item>
  </channel>
</rss>