Oooops, it looks as if I did everything all correctly.... *except *that
there's a test buried deep in the source which raises an exception if it's
not on .NET 3.5. Disabling the test, and the app seems to work fine on .NET
4. Sigh. Anyway, thanks for the suggestions; I'm certainly a fair bit more
familiar with the build stuff than i was before, so I guess this is a
"learning experience"....
Thanks again,
Ken

On Thu, Sep 16, 2010 at 12:05 PM, Dino Viehland <di...@microsoft.com> wrote:

>  If I understand correctly you have a C# or VB project which is embedding
> IronPython (vs. say trying to build IronPython it’s self from source for
> .NET 4).  If that’s correct have you downloaded the .NET 4 version of
> IronPython 2.6 which is available here
> http://ironpython.codeplex.com/releases/view/36280 ?
>
>
>
> If you have a pre-.NET 4.0 project did VS ask you to upgrade the project
> files?  Maybe you just need to open xxxxx.csproj in VS and let it upgrade
> that too?
>
>
>
> *From:* users-boun...@lists.ironpython.com [mailto:
> users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
> *Sent:* Thursday, September 16, 2010 8:01 AM
> *To:* Discussion of IronPython
> *Subject:* [IronPython] how to "target" .NET 4.0?
>
>
> MSB3645:. NET Framework v3.5 Service Pack 1 was not found. In order to
> target "(0)",. NET Framework v3.5 Service Pack 1 or later must be installed.
>
>
> I'm trying to move an ipy/wpf application that I inherited to IPY 2.6 and
> .NET 4.0 on Windows 2008 Server. I got the above error message, referencing
> a "xxxxx.csproj" file deep in my project directory, so I installed Visual
> studio and opened it up, but the project file shows the target is .NET
> Framework 4.
>
> This is a clean install of 2.6 and 4.0 on a brand new system, so not sure
> what I have to do to convince this thing that I'm trying to run as 4.0 and
> not 3.5. I've worked on the IPY source for the project, but didn't have
> anything do do with the initial setup, so I'm pretty well baffled. Anyone
> successfully move a project from and earlier version of .NET to 4.0?
> Ken
>
> _______________________________________________
> Users mailing list
> Users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to