Nattydreadlock
unread,Feb 9, 2008, 6:16:40 PM2/9/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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