Quantcast
Channel: Silverlight Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 801

Commented Issue: Error while creating new unit test project in VS 2010 [5936]

$
0
0
After selecting new Silverlight Unit Test Project, and choosing settings, I get this error:

---------------------------
Microsoft Visual Studio
---------------------------

C:\Users\user\AppData\Local\Temp\ug4vnfqu.uzk\Temp\SilverlightTest1.csproj(107,3): The imported project "C:\Users\user\AppData\Local\Temp\ug4vnfqu.uzk\Temp\Microsoft.Silverlight.Toolkit.Build.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
---------------------------
OK
---------------------------
Comments: ** Comment from web user: mamadero **

The following change worked for me

<!--<Import Condition="$(SilverlightVersion)=='v4.0'" Project="$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SilverlightToolkit\Tools\v4.0)Microsoft.Silverlight.Toolkit.Build.targets" />-->
<Import Condition="$(SilverlightVersion)=='v4.0'" Project="C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Toolkit\Apr10\Tools\Microsoft.Silverlight.Toolkit.Build.targets" />

Instead of hardcoding the path to that location, I would probably include that targets file in Source Control to avoid differences from one computer to the other.

BTW, changing the original line to look for the targets inside of Wow6432Node would fix it as well.


Viewing all articles
Browse latest Browse all 801

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>