Windows Phone 7.1 - System.Windows.Interactivity assembly not found.
I am trying to build a Windows Phone 7.1 Silverlight Project, which references the "System.Windows.Interactivity" assembly.
This results in a build error:
warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Windows.Interactivity, Version=3.8.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk.
error CS0234: The type or namespace name 'Interactivity' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)
Building the project for Windows Phone 8 (other version of the Interactivity assembly) work. Any ideas?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 04 Aug, 2014 01:42 PM
Hi Wolfgang,
Phone 7.1 project is in Silverlight 4, right?
Support Staff 2 Posted by Feodor Fitsner on 04 Aug, 2014 01:54 PM
OK, found it. The v3.8.5 of this assembly is a part of Windows Phone SDK 7.1 and its location on build worker is
C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\Windows Phone\v7.1\Libraries\System.Windows.Interactivity.dll
3 Posted by Wolfgang Ziegle... on 04 Aug, 2014 01:54 PM
Hi Feodor,
Yes it’s Silverlight 4.
Thanks for the quick reply!
-Wolfgang
4 Posted by Wolfgang Ziegle... on 04 Aug, 2014 02:01 PM
That’s the same path as on my local machine. Not sure why it doesn’t work then …
5 Posted by Wolfgang Ziegle... on 05 Aug, 2014 08:09 AM
I was able to resolve this issue using a <HintPath> for my <Reference> to System.Windows.Ineractivity.
<Reference Include="System.Windows.Interactivity, Version=3.8.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>$(MSBuildProgramFiles32)\Microsoft SDKs\Expression\Blend\Windows Phone\v7.1\Libraries\System.Windows.Interactivity.dll</HintPath>
</Reference>
Support Staff 6 Posted by Feodor Fitsner on 05 Aug, 2014 08:10 AM
Great, thanks for the update!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:46 AM.