[ 
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.

Reply via email to