Cannot create a simple WPF project
Dernier message 06 nov. 2009 09:18 par eurowise. 4 Réponses.
Version imprimable
Tri:
RetourRetour SuivantSuivant
Vous n'etes pas autorisé a poster une réponse.
Auteur Messages Non résolu
eozer
New Member
New Member
Posts:3

--
30 oct. 2009 09:27  
When I try to generate a simple wpf project, I encounter the following errors in and the solution cannot be build. It seems that the wpf controls cannot be generated.

Info: Generating code for the windows presenation layer...
-------------------------------------------------------------
Info: App.Config created successfully.
Info: PLWpfMainForm created successfully.
Error: WPFSCNetworkControl failed to create. Error message: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at EnvDTE80.Solution2.GetProjectItemTemplate(String TemplateName, String Language)
at CodeCompleteAddin40.GlobalModule.GenerateWPFUserControl(String DSPath, String ProjectName, String Stylesheet, String StylesheetDesigner, String FileName, ProjectItem ParentItem, XsltArgumentList Arguments)
at CodeCompleteAddin40.GlobalModule.GenerateWPFDataEntryControl(DataSourceManager DS, String ProjectName)
Error: WPFSCServerControl failed to create. Error message: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at EnvDTE80.Solution2.GetProjectItemTemplate(String TemplateName, String Language)
at CodeCompleteAddin40.GlobalModule.GenerateWPFUserControl(String DSPath, String ProjectName, String Stylesheet, String StylesheetDesigner, String FileName, ProjectItem ParentItem, XsltArgumentList Arguments)
at CodeCompleteAddin40.GlobalModule.GenerateWPFDataEntryControl(DataSourceManager DS, String ProjectName)
Error: WPFSCServerItemControl failed to create. Error message: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at EnvDTE80.Solution2.GetProjectItemTemplate(String TemplateName, String Language)
at CodeCompleteAddin40.GlobalModule.GenerateWPFUserControl(String DSPath, String ProjectName, String Stylesheet, String StylesheetDesigner, String FileName, ProjectItem ParentItem, XsltArgumentList Arguments)
at CodeCompleteAddin40.GlobalModule.GenerateWPFDataEntryControl(DataSourceManager DS, String ProjectName)
Error: WPFSCServiceControl failed to create. Error message: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at EnvDTE80.Solution2.GetProjectItemTemplate(String TemplateName, String Language)
at CodeCompleteAddin40.GlobalModule.GenerateWPFUserControl(String DSPath, String ProjectName, String Stylesheet, String StylesheetDesigner, String FileName, ProjectItem ParentItem, XsltArgumentList Arguments)
eozer
New Member
New Member
Posts:3

--
30 oct. 2009 10:42  
Also, another issue is that, when I try to configure lookups, a message box pops up all the time, stating "the lookup xxx requires a display column", although the key and display columns are correctly set.
Strangely, for instance, if the lookup table is Apple and the data source name, BL and DL names are all AppleLookup ,AppleNameValueList.. etc. the mesagebox says OrangeLookup requires a display column. It seems that the somewhere under the hood, things are mixed up.
eurowise
Basic Member
Basic Member
Posts:205

--
30 oct. 2009 01:52  
Hi eozer,

Can you give me a bit more details:

1- Have you managed to create a standard win app?
2- Are the the Visual Studio WPF templates installed? You can test that by just creating a WPF app in VS?
3- Which operating sustem are you using (32 or 62 bit)?


Thanks

Philip
eozer
New Member
New Member
Posts:3

--
30 oct. 2009 04:54  
Hi Philip,

1. Yes, we are able to produce a standard winform application.
2. I think so, yes. I am able to produce basic WPF applications on my system (VS.NET2008 SP1, Windows XP SP2)
3. 32 bit.

Thanks,

Emre
eurowise
Basic Member
Basic Member
Posts:205

--
06 nov. 2009 09:18  
This issue has been resolved and closed.

Philip
Vous n'etes pas autorisé a poster une réponse.

Active Forums 4.1
NOT LICENSED FOR PRODUCTION USE
www.activemodules.com
Connexion / Inscription