Expression Blend import Microsoft.visualbasic.targets

49 views
Skip to first unread message

Nattydreadlock

unread,
Feb 9, 2008, 6:16:40 PM2/9/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hello everybody,

I have a problem. When I create a new WPF-project inside visual studio
I get an error when I try to open the same project with Microsoft's
expression Blend:

d:\data\development\spikes\WindowApplication1.vbproj (102.11): The
imported project "D:\Microsoft.VisualBasic.targets" was not found.
Confirm that the path in the <Import> declaration is correct, and that
the file exists on disk.

When I look into the VBproj file I can see there's an import to the
project
$(MSBuildToolsPath)\Microsoft.VisualBasic.Targets

The MSBuildToolsPath is a variable pointing to the path which is
defined in the registry. When I look in the registry I can see the
MSBuildToolsPath is pointing to "C:\Windows\Microsoft.NET\Framework
\v2.0.50727"

I have tried two things:
- Copy everything from "C:\Windows\Microsoft.NET\Framework\v2.0.50727"
to D:
This obviously works, but is not a solution I want to go with because
it wouldn't work when deploying the application.

- Change the VBProj-file and hardcode the path to "C:\Windows
\Microsoft.NET\Framework\v2.0.50727"
Now I can open the project in Blend, but when I try to build the
project in Visual Studio I get lots of build errors. Besides I don't
want to change this everytime I build a new project.

So, if anyone knows the solution to this, please reply as it's driving
me insane...

With kind regards,

Kenneth Truyers

Andrew Badera

unread,
Feb 10, 2008, 5:42:35 AM2/10/08
to DotNetDe...@googlegroups.com
To date, I don't think a lot of list members have used WPF much, much less Expression Blend.

I'd bet you'd have better luck asking on the msdn forums at http://msdn.microsoft.com/forums in the WPF section.

I would, however, be curious to know what you find.
--
--Andy Badera
http://andrew.badera.us/
and...@badera.us
(518) 641-1280
Google me: http://www.google.com/search?q=andrew+badera

BL

unread,
Apr 2, 2008, 2:16:47 PM4/2/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Not sure if you solved this yet - or not.
But SP1 of Expression Blend will solve this problem.

Cheers,

Blaine
http://www.comcul.com

EPK

unread,
May 2, 2008, 3:57:36 PM5/2/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Worked perfectly. Thank you!

Erik
Reply all
Reply to author
Forward
0 new messages