You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Adelita L. Padilla (JIRA)" <ji...@apache.org> on 2010/10/11 03:08:10 UTC
[jira] Created: (NPANDAY-328) Support for VS2010 WPF Project
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.
[jira] Issue Comment Edited: (NPANDAY-328) Support for VS2010 WPF
Project
Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921664#action_12921664 ]
Adelita L. Padilla edited comment on NPANDAY-328 at 10/16/10 6:39 AM:
----------------------------------------------------------------------
Hi Artem!
Thanks for you patch.
I've applied it in branch and it works fine. I am now able to build successfully a WPF project.
I also added the ff paths in my Path Env Var:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;
was (Author: apadilla):
Hi Artem!
Thanks for you patch.
I've applied it in branch and it works fine. I am now able to build successfully a WPF project.
> 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.
[jira] Resolved: (NPANDAY-328) Support for VS2010 WPF Project
Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adelita L. Padilla resolved NPANDAY-328.
----------------------------------------
Resolution: Fixed
merged in trunk r1023237
> 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.
[jira] Updated: (NPANDAY-328) Support for VS2010 WPF Project
Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adelita L. Padilla updated NPANDAY-328:
---------------------------------------
Comment: was deleted
(was: Add the ff paths to your Path Env Var:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;)
> 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.
[jira] Issue Comment Edited: (NPANDAY-328) Support for VS2010 WPF
Project
Posted by "Artem Fedorenko (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (NPANDAY-328) Support for VS2010 WPF Project
Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921673#action_12921673 ]
Adelita L. Padilla commented on NPANDAY-328:
--------------------------------------------
Add the ff paths to your Path Env Var:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;
> 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.
[jira] Commented: (NPANDAY-328) Support for VS2010 WPF Project
Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920496#action_12920496 ]
Adelita L. Padilla commented on NPANDAY-328:
--------------------------------------------
r1022057 - added checking on importing projects (VS2010) on a 64-bit machine (correct the path of <includeSources> )
> 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.
[jira] Commented: (NPANDAY-328) Support for VS2010 WPF Project
Posted by "Artem Fedorenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921341#action_12921341 ]
Artem Fedorenko commented on NPANDAY-328:
-----------------------------------------
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.
[jira] Commented: (NPANDAY-328) Support for VS2010 WPF Project
Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921317#action_12921317 ]
Adelita L. Padilla commented on NPANDAY-328:
--------------------------------------------
Hi All,
With the latest revision for branch for VS2010 support, I added the following code -> http://pastie.org/1223137
I am still not able to build successfully a simple wpf project. I got this error:
[DEBUG] commands: [/out:C:\Users\apadilla\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\target\WpfApplication1.exe, /target:winexe, /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, /resource:C:\Users\apadilla\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\target\assembly-resources\resource\WpfApplication1.Properties.Resources.resources, /nologo, /reference:C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v4.0.dll, /reference:C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Data.Entity.Build.Tasks.dll, /reference:C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.VisualC.STLCLR.dll, /warnaserror-, /doc:C:\Users\apadilla\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\target\comments.xml, /recurse:C:\Users\apadilla\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\target\1562222\*.cs]
c:\Users\apadilla\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\target\1562222\App.g.cs(31,22): error CS0234: The type or namespace name 'Shell' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)
c:\Users\apadilla\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\target\1562222\MainWindow.g.cs(31,22): error CS0234: The type or namespace name 'Shell' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)
[DEBUG] NPANDAY-040-000: Executed command: Commandline = CMD.EXE /X /C csc @"C:\Users\apadilla\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\target\1562222\responcefile.rsp", Result = 1
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] NPANDAY-900-006: Unable to Compile: Language = C_SHARP, Vendor = null, ArtifactType = winexe, Source Directory = C:\Users\apadilla\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1
Embedded error: NPANDAY-040-001: Could not execute: Command = CMD.EXE /X /C csc @"C:\Users\apadilla\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\target\1562222\responcefile.rsp", Result = 1
[INFO] ------------------------------------------------------------------------
Removing 'Using System.Windows.Shell' both in App.g.cs and MainWindow.g.cs would give a successfully compilation of the project when doing 'mvn install'
Anyone have any idea on what I might have been missing?
Thanks!
> 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.
[jira] Commented: (NPANDAY-328) Support for VS2010 WPF Project
Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921664#action_12921664 ]
Adelita L. Padilla commented on NPANDAY-328:
--------------------------------------------
Hi Artem!
Thanks for you patch.
I've applied it in branch and it works fine. I am now able to build successfully a WPF project.
> 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.
Re: [jira] Commented: (NPANDAY-328) Support for VS2010 WPF Project
Posted by Brett Porter <br...@apache.org>.
On 16/10/2010, at 9:47 PM, Artem Fedorenko (JIRA) wrote:
>>> also added the ff paths in my Path Env Var:
>>> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;
>
> Right, I forgot to mention it.. It is necessary in order to use gacutil and compiler tools for .NET 4.0.
> Thanks a lot!
Can the docs be patched for this?
- Brett
--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
[jira] Commented: (NPANDAY-328) Support for VS2010 WPF Project
Posted by "Artem Fedorenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921675#action_12921675 ]
Artem Fedorenko commented on NPANDAY-328:
-----------------------------------------
>> also added the ff paths in my Path Env Var:
>>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;
Right, I forgot to mention it.. It is necessary in order to use gacutil and compiler tools for .NET 4.0.
Thanks a lot!
> 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.