WPF Support
Hi,
are WPF projects officialy supported by ReSharper?
Problem is, that ReSharper cannot resolve InitializeComponent in a
partial class (derived from Window). The xaml compiler creates a .g.cs
file unter obj\Debug\... which should be parsed by R#.
Sincerely,
Stefan Lieser
--
Stefan Lieser | Softwareentwickler
slieser@jjk.de
JJK Gesellschaft für innovative Verlagssoftware GmbH
Emil-Schäfer-Str. 89 | 47800 Krefeld
Tel: +49(0)221/1306415 | Fax: +49(0)2151/4977-33
http://www.jjk.de | http://www.jjk.de/community
Please sign in to leave a comment.
Hello Stefan,
What version of ReSharper do you use? In version 2.5 we added limited XAML
support, and in the next version we are going to support XAML files much
better.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
SL> Hi,
SL>
SL> are WPF projects officialy supported by ReSharper?
SL>
SL> Problem is, that ReSharper cannot resolve InitializeComponent in a
SL> partial class (derived from Window). The xaml compiler creates a
SL> .g.cs file unter obj\Debug\... which should be parsed by R#.
SL>
SL> Sincerely,
SL> Stefan Lieser
SL> JJK Gesellschaft für innovative Verlagssoftware GmbH
SL> Emil-Schäfer-Str. 89 | 47800 Krefeld
SL> Tel: +49(0)221/1306415 | Fax: +49(0)2151/4977-33
SL> http://www.jjk.de | http://www.jjk.de/community
SL>
Hello Ilya,
Build 348.
> and in the next version we are going to support XAML files
Great news! Do you mean 3.0 with "next version"?
Sincerely,
Stefan Lieser
--
Stefan Lieser
EMail: stefan@lieser-online.de
Web: http://www.lieser-online.de
Stefan,
In the version, .g.cs files are parsed. The only problem is that when they
are changed, ReSharper gets the changes only after the focus is moved out of
VisualStudio and got back.
Are fields, declared in .xaml file resolved?
Absolutely.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Sergey V. Coox (JetBrains) schrieb:
>> Build 348.
No.
Do you parse .g.cs files regularly or does R# try to detect if the
project is a WPF project? I ask because I have added the following line
by hand to the .csproj file to get xaml files compiled (and .g.cs files
generated):
]]>
Sincerely,
Stefan Lieser
--
Stefan Lieser
EMail: stefan@lieser-online.de
Web: http://www.lieser-online.de
Stefan,
We parse .g.cs files, that are located in the obi folder. Could You send us
a sample solution, that illustrates your way using WPF?
Thanks in advance
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hello Sergey,
Sergey V. Coox (JetBrains) schrieb:
sorry, I restarted VS2005 today and everything works fine.
Sincerely,
Stefan Lieser