Re: Force use of original .Net 4.0 when .Net 4.5 is installed
Oskar Berggren <[email protected]> Mon, 29 Oct 2012 08:06:00 +0100
| Newsgroups | gmane.comp.windows.dotnet.nant.devel |
|---|---|
| Message-ID | <CAHOuc7NCRDdXWFkEDtrC0FwN-vEfs1ZSyHbt8dWkFiZ8EYB6JQ@mail.gmail.com> |
--===============8974637805287390416== Content-Type: multipart/alternative; boundary=e89a8f6471d1789b1d04cd2d4e95 --e89a8f6471d1789b1d04cd2d4e95 Content-Type: text/plain; charset=ISO-8859-1 Thanks Dominik, Here's some more information I've discovered: http://blogs.msdn.com/b/msbuild/archive/2007/04/12/new-reference-assemblies-location.aspx I suspect a possible complication would be that the reference assemblies seems to be installed by the SDK or visual studio, and thus not available if either of these are not installed. /Oskar 2012/10/28 Dominik Guder <[email protected]> > Hi, > > the develelopers are taking a look. From my point of view I want to > check the proper usage of "Referenced Assemblies" folder. > Maybe someone can point me to some detail information in MSDN or some > where else. > > So far Dominik > > Am 27.10.2012 19:57, schrieb Oskar Berggren: > > Hi, > > > > .Net 4.5 is an inplace upgrade for .Net 4.0. If you want to ensure that > > your software runs on a machine with only the original .Net 4.0 > > installed, you need to take care when building, so that you don't cause > > dependencies on .Net 4.5 versions of the assemblies. > > > > This thread discuss the issue and there is a proposed solution that > > involves editing nant.exe.config to avoid referencing updated assemblies > > found under C:\Windows\...: > > > http://stackoverflow.com/questions/11991383/nant-build-using-net-4-5-beta-assembly-references-despite-specifying-net-4-0 > > > > What are the nant developers' take on this? Is the solution on stack > > overflow the way to go? If so, should this be regarded as a bug in nant? > > It doesn't seem "proper" to edit nant.exe.config in a runtime > installation. > > > > > > /Oskar > > > > > > > > > ------------------------------------------------------------------------------ > > WINDOWS 8 is here. > > Millions of people. Your app in 30 days. > > Visit The Windows 8 Center at Sourceforge for all your go to resources. > > http://windows8center.sourceforge.net/ > > join-generation-app-and-make-money-coding-fast/ > > > > > > > > _______________________________________________ > > nant-developers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/nant-developers > > > > > -- > The answer to the great question of life, > the universe and everything is 42 (Douglas Adams) > > > ------------------------------------------------------------------------------ > WINDOWS 8 is here. > Millions of people. Your app in 30 days. > Visit The Windows 8 Center at Sourceforge for all your go to resources. > http://windows8center.sourceforge.net/ > join-generation-app-and-make-money-coding-fast/ > _______________________________________________ > nant-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nant-developers > --e89a8f6471d1789b1d04cd2d4e95 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Dominik,<br><br>Here's some more information I've discovered= :<br><a href=3D"http://blogs.msdn.com/b/msbuild/archive/2007/04/12/new-refe= rence-assemblies-location.aspx">http://blogs.msdn.com/b/msbuild/archive/200= 7/04/12/new-reference-assemblies-location.aspx</a><br> <br>I suspect a possible complication would be that the reference assemblie= s seems to be installed by the SDK or visual studio, and thus not availabl= e if either of these are not installed.<br><br>/Oskar<br><br><br><div class= =3D"gmail_quote"> 2012/10/28 Dominik Guder <span dir=3D"ltr"><<a href=3D"mailto:osc@guder.= org" target=3D"_blank">[email protected]</a>></span><br><blockquote class=3D= "gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding= -left:1ex"> Hi,<br> <br> the develelopers are taking a look. From my point of view I want to<br> check the proper usage of "Referenced Assemblies" folder.<br> Maybe someone can point me to some detail information in MSDN or some<br> where else.<br> <br> So far Dominik<br> <br> Am 27.10.2012 19:57, schrieb Oskar Berggren:<br> <div><div class=3D"h5">> Hi,<br> ><br> > .Net 4.5 is an inplace upgrade for .Net 4.0. If you want to ensure tha= t<br> > your software runs on a machine with only the original .Net 4.0<br> > installed, you need to take care when building, so that you don't = cause<br> > dependencies on .Net 4.5 versions of the assemblies.<br> ><br> > This thread discuss the issue and there is a proposed solution that<br= > > involves editing nant.exe.config to avoid referencing updated assembli= es<br> > found under C:\Windows\...:<br> > <a href=3D"http://stackoverflow.com/questions/11991383/nant-build-usin= g-net-4-5-beta-assembly-references-despite-specifying-net-4-0" target=3D"_b= lank">http://stackoverflow.com/questions/11991383/nant-build-using-net-4-5-= beta-assembly-references-despite-specifying-net-4-0</a><br> ><br> > What are the nant developers' take on this? Is the solution on sta= ck<br> > overflow the way to go? If so, should this be regarded as a bug in nan= t?<br> > It doesn't seem "proper" to edit nant.exe.config in a ru= ntime installation.<br> ><br> ><br> > /Oskar<br> ><br> ><br> ><br> </div></div>> ----------------------------------------------------------= --------------------<br> > WINDOWS 8 is here.<br> > Millions of people. =A0Your app in 30 days.<br> > Visit The Windows 8 Center at Sourceforge for all your go to resources= .<br> > <a href=3D"http://windows8center.sourceforge.net/" target=3D"_blank">h= ttp://windows8center.sourceforge.net/</a><br> > join-generation-app-and-make-money-coding-fast/<br> ><br> ><br> ><br> > _______________________________________________<br> > nant-developers mailing list<br> > <a href=3D"mailto:[email protected]">nant-develope= [email protected]</a><br> > <a href=3D"https://lists.sourceforge.net/lists/listinfo/nant-developer= s" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nant-deve= lopers</a><br> ><br> <br> <br> --<br> The answer to the great question of life,<br> the universe and everything is 42 (Douglas Adams)<br> <br> ---------------------------------------------------------------------------= ---<br> WINDOWS 8 is here.<br> Millions of people. =A0Your app in 30 days.<br> Visit The Windows 8 Center at Sourceforge for all your go to resources.<br> <a href=3D"http://windows8center.sourceforge.net/" target=3D"_blank">http:/= /windows8center.sourceforge.net/</a><br> join-generation-app-and-make-money-coding-fast/<br> _______________________________________________<br> nant-developers mailing list<br> <a href=3D"mailto:[email protected]">nant-developers@li= sts.sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/nant-developers" ta= rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nant-developer= s</a><br> </blockquote></div><br> --e89a8f6471d1789b1d04cd2d4e95-- --===============8974637805287390416== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ --===============8974637805287390416== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ nant-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-developers --===============8974637805287390416==--