{"id":4812,"date":"2014-03-30T15:34:23","date_gmt":"2014-03-30T15:34:23","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-net-3-0-collection-of-common-programming-errors\/"},"modified":"2014-03-30T15:34:23","modified_gmt":"2014-03-30T15:34:23","slug":"problem-about-net-3-0-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-net-3-0-collection-of-common-programming-errors\/","title":{"rendered":"problem about .net-3.0-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0937101c35b46689fc6285458d68f26d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKelly Cline<br \/>\nwpf .net-3.0<br \/>\nThis seems close to some other questions I&#8217;ve seen out here, but not close enough&#8230;I have a grid with three rows. The first row holds a custom grid that I want to have as much space as possible. I set its Height to &#8220;*&#8221;. The second row is a row of buttons; it is &#8220;Auto&#8221;. The third row is a user control that contains another custom grid that has an unpredictable number of rows (none at design-time, filled in at run-time).If I set the third row to &#8220;Auto&#8221;, it doesn&#8217;t get any space at all. I nee<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/cdf128a0ee0cf38f0a673dbc82a74449?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nScott Chamberlain<br \/>\nc# .net .net-2.0 extension-methods .net-3.0<br \/>\nWhen I try to add a extension method using the .NET 2.0 or 3.0 runtime I get the error:Cannot define a new extension method because the compiler requiredtype &#8216;System.Runtime.CompilerServices.ExtensionAttribute&#8217; cannot befound. Are you missing a reference to System.Core.dll?But I can&#8217;t find System.Core in the list of available references when I try to add it to the project. What do I need to do to be able to use extension methods and in turn Linq in my projects?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/42893555ea66c988b51c9167a650d849?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNick Berardi<br \/>\n.net-3.5 .net-2.0 .net-1.1 .net-3.0<br \/>\nI have a .NET 3.5 WinForms project that uses several 3rd party controls and a couple of home-grown components that are compiled for the 1.1 framework.Is there a performance hit for using 1.1 components?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1aa48f7606f5b08595b0a0356a61e8b6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJohn Saunders<br \/>\n.net .net-2.0 .net-3.0<br \/>\n.NET 3.0 &#8220;wraps&#8221; .NET 2.0 so if I&#8217;m starting out with a clean Windows Server 2003 environment, will the .NET 3.0 SP1 installer also install .NET 2.0 and 3.0? What about .NET 2.0 SP1? Assume I don&#8217;t want to install .NET 3.5 SP1 just yet.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/wNhY1.jpg?s=32&amp;g=1\" \/><br \/>\nPete Morrison<br \/>\nc# .net visual-studio .net-2.0 .net-3.0<br \/>\nI have project in .NET 2.0. (let&#8217;s call it Project A). I wanted to use WCF, so I created another project (in .NET 3.0, let&#8217;s call it Project B) where I put all WCF logic, so all I do in my Project A is calling some method from class from Project B. When I add reference to Project B, Project A does not see it and I get warnings:The primary reference &#8220;Project B\/Some.dll&#8221; could not be resolved because it has an indirect dependency on the framework assembly &#8220;System.ServiceModel, Version=3.0.0.0, Cul<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/71c1027d2483fe242b0affc5e59df647?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJonathan Allen<br \/>\nwcf .net-3.0<br \/>\nWCF: Why does passing in a remote endpoint fail when passing the same endpoint via the configuration file works?This works:Using con As New OfferingTap.OfferingTapClient(New ServiceModel.InstanceContext(callback), &#8220;NetTcpBinding_IOfferingTap&#8221;This doesn&#8217;t:Using con As New OfferingTap.OfferingTapClient(New ServiceModel.InstanceContext(callback), &#8220;NetTcpBinding_IOfferingTap&#8221;, &#8220;net.tcp:\/\/qa1offerings:8190\/&#8221;)Configuration File Excerpt:&lt;endpoint address=&#8221;net.tcp:\/\/qa1offerings:8190\/&#8221; binding=&#8221;netTc<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kelly Cline wpf .net-3.0 This seems close to some other questions I&#8217;ve seen out here, but not close enough&#8230;I have a grid with three rows. The first row holds a custom grid that I want to have as much space as possible. I set its Height to &#8220;*&#8221;. The second row is a row of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4812","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4812"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4812\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}