[ 
https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921341#action_12921341
 ] 

Artem Fedorenko edited comment on NPANDAY-328 at 10/15/10 9:22 AM:
-------------------------------------------------------------------

Hi,

I also had the same problem with WPF projects on .NET 4.0. The "root" is that 
NPanday tries to use some dlls (PresentationFramework.dll, WindowsBase.dll and 
PresentationCore.dll) from the GAC of 3.0. Actually you can this from your log: 
"reference:C:\Windows\assembly\GAC_64\PresentationCore\3.0.0.0__31bf3856ad364e35\PresentationCore.dll,
 
/reference:C:\Windows\assembly\GAC_MSIL\PresentationFramework\3.0.0.0__31bf3856ad364e35\PresentationFramework.dll,
 
/reference:C:\Windows\assembly\GAC_MSIL\WindowsBase\3.0.0.0__31bf3856ad364e35\WindowsBase.dll"
 Apparently System.Windows.Shell is a new namespace introduced in .NET 4.0, so 
compiler does not find them from referenced dlls in GAC for 3.0
 
It took me some time to fix this issue - I uploaded the patch to NPANDAY-288 
(as attachement) with related comment on 12/Oct/10. It fixes some other issues 
also but it works. Would be great if can integrate it to the branch.

Regards



      was (Author: artem.fedorenko):
    Hi,

I also had the same problem with WPF projects on .NET 4.0. The "root" is that 
NPanday tries to use some dlls (PresentationFramework.dll, WindowsBase.dll and 
PresentationCore.dll) from the GAC of 3.0. Actually you can this from your log: 
"reference:C:\Windows\assembly\GAC_64\PresentationCore\3.0.0.0__31bf3856ad364e35\PresentationCore.dll,
 
/reference:C:\Windows\assembly\GAC_MSIL\PresentationFramework\3.0.0.0__31bf3856ad364e35\PresentationFramework.dll,
 
/reference:C:\Windows\assembly\GAC_MSIL\WindowsBase\3.0.0.0__31bf3856ad364e35\WindowsBase.dll"
 
It took me some time to fix this issue - I uploaded the patch to NPANDAY-288 
(as attachement) with related comment on 12/Oct/10. It fixes some other issues 
also but it works. Would be great if can integrate it to the branch.

Regards


  
> Support for VS2010 WPF Project
> ------------------------------
>
>                 Key: NPANDAY-328
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-328
>             Project: NPanday
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Adelita L. Padilla
>             Fix For: 2.0
>
>
> Import and compile successfully a VS 2010 WPF project.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to