Cannot create WPF demo applications
Dernier message 04 nov. 2009 08:58 par teizela. 14 Réponses.
Version imprimable
Tri:
RetourRetour SuivantSuivant
Vous n'etes pas autorisé a poster une réponse.
Auteur Messages
teizela
New Member
New Member
Posts:8

--
21 juin 2009 01:12  
Hi,

I'm not able to create the demo apps when I choose the WPF application (the winforms versions work without any problems). I have tried both tutorials step by step an get the same errors. The problem is, the WPF main window cannot be created, I always get an empty Windows1.xaml (it's not even named PLWpfMainForm.xaml) with nothing more in it than:

<Window x:Class="ProjektTrackerWin.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Grid>

</Grid>
</Window>

The solution.log has several errors, the first is:

Error: ProjektTrackerWin failed to create. Error message: System.NotImplementedException: The method or operation is not implemented.
at EnvDTE.Project.Save(String FileName)
at CodeCompleteAddin35.SolutionManager.SaveSolution(Solution2 SolutionObject, String FullName)
at CodeCompleteAddin35.SolutionClass.AddWinApplication(ProjectClass Project)

If I delete the project folder (e.g. c:\ProjectTracker) and create the exakt same solution (without the checkbox for WPF) the project creates and works fine.

I'm using Windows Vista 64bit german, VS 2008 english and CodeComplete 3.5 registered version.

Do you have any hint for me how to successfully create the WPF application?

Best regards
Andreas


eurowise
Basic Member
Basic Member
Posts:205

--
22 juin 2009 01:25  
Hi

Can you create a WPF application usiig Visua Studio? This is just to check if the VS templates for WPF are properly installed.

Thanks

Philip
teizela
New Member
New Member
Posts:8

--
22 juin 2009 03:40  
Yes, no problem in VS. I have already created several apps.

eurowise
Basic Member
Basic Member
Posts:205

--
22 juin 2009 04:18  
Can you send me the full log file?

Thanks

Philip
teizela
New Member
New Member
Posts:8

--
22 juin 2009 06:22  
Shall I paste the whole log in the reply? I haven't found a way to attach a file. Sorry if I'm just blind :-)

Thanks

Andreas
eurowise
Basic Member
Basic Member
Posts:205

--
22 juin 2009 07:11  
Can you email it to support@eurowisesoft.com?

Thanks

Philip
teizela
New Member
New Member
Posts:8

--
24 juin 2009 11:12  
Have you received the log?

Thanks

Andreas
eurowise
Basic Member
Basic Member
Posts:205

--
25 juin 2009 08:10  
Thanks, we have received it and we are still looking into it. So far I am afarid, it remains a mystery. I wonder if it is to do with Vista 64bit?

Philip
skiabox
New Member
New Member
Posts:1

--
23 juil. 2009 03:46  
Same problem here.
I am using windows7 rc 64bit
teizela
New Member
New Member
Posts:8

--
06 août 2009 01:01  
I tried it again on another 64 bit system: same problems
I tried it with the 4.0 beta: again the same problem
I tried it on a Vista 32 bit system: no problems, works as expected

That also seems to show it's a 64bit problem. I'm hoping you can fix this soon, since my productivity system is 64bit only.

teizela
New Member
New Member
Posts:8

--
18 oct. 2009 11:30  
Hi,

I've tried it today with Code Complete 4.0 RTM and the error still exists. That's a pity cause all my current projects are focused on the platform combination WPF / 64bit and it seems that Code Complete isn't usable for that combination. Very sad, cause I loved this product. But after several months waiting for a solution I'm afraid I have to look for something else.

Best wishes
Andreas
eurowise
Basic Member
Basic Member
Posts:205

--
18 oct. 2009 02:29  
I am surprised with that. My development machine is a Vista 64 bit and I have done thorough testing on it. I never had any problem creating a WPF solution. What version of the 64 bit you have (Professional, Enterprise) and in which language. Which version of VS2008 do you have (language)? Do you have the SP1?

Is there anyone out there having the same problem?

Thanks

Philip
teizela
New Member
New Member
Posts:8

--
19 oct. 2009 03:55  
Hi Philip,

I'm surprised too. In june you wrote:
"So far I am afarid, it remains a mystery. I wonder if it is to do with Vista 64bit?"
and now you "never had any problem" with WPF on 64bit?
In my opinion these two mails don't match. Aside from that, if the problem is solved for you it would have been nice to inform me.
BTW, the user skiabox wrote already in july that he has the exact same problem.

In any case, here is my system:
I'm using Windows Vista 64bit Business german SP1, VS 2008 Team System Development Edition SP1 english and CodeComplete 4.0

Please let me know if I could do any more testing or can provide you with any more infos.

Thanks
Andreas


eurowise
Basic Member
Basic Member
Posts:205

--
19 oct. 2009 04:19  
Hi Andreas

Sorry for the misunderstanding. We did start testing Code Complete 4.0 on 64 bit just after you have sent the email and we did not discover any problems. I should have logged it on the forum. We have used Vista 64 BIT Business French and English Editions and we could not reproduce the problem. We are looking again into the problem but I have to admit it is a mystery.

Philip
teizela
New Member
New Member
Posts:8

--
04 nov. 2009 08:58  
Hi,

Philip has solved the problem. It's not Code Complete's fault, it's ReSharper. Weird thing: if you have ReSharper installed and you are using a 64bit system, you cannot create WPF applications. By deinstalling ReSharper everything works fine. I'm contacting JetBrains, perhaps they can find a way to make these two wonderful products work together.

So I have to apologize, Code Complete creates WPF apps just fine. I should have tried it with a clean install first.

BTW, Philip has spent a lot of time to solve this mysterium, analyzed solutions and log files, created special versions to examine what's happening: absolutely amazing support.

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

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