Search

Blend adds project references I dont want! by Stoffis1

Active

0
0
Sign in
to vote
Type: Bug
ID: 777998
Opened: 1/31/2013 3:16:45 AM
Access Restriction: Public
1
Workaround(s)
0
User(s) can reproduce this bug
I dynamically load my resources, and hence I do NOT want any project references to a certain .dll containing my themes.
This works fine in VS 2012, however, in Blend It automatically adds the project reference when I want to choose my style in this dll...
This is really bad, you should have the option to only add the reference in Blend and remove it upon exit.

Now, I constantly need to go to VS and remove this stupid reference after each correction in Blend, and need to add the style every time.

Annoying...
Details (expand)

Product Version?

 

Blend for Windows Developer Preview

Language?

C#

Issue Type?

Bug

Repro Steps? (N/A for Suggestion)

Project references are set automatically if Blend dosnt find the correct resource file.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 2/5/2013 at 3:24 PM
Stoffis,

Please share a repro from this issue at navits at microsoft dot com and I will be happy to investigate this issue.
Posted by Microsoft on 2/1/2013 at 6:11 PM
Hey Stoffis,

Can you please share a repro project for this issue? I can investigate this issue.

Thanks !!!
Sign in to post a workaround.
Posted by Lars Heinrich on 1/31/2013 at 3:38 AM
I would tend to say that blend needs the dll to get the styles during design time. To improve the Situation you could add a design time switch on csproj. level for the specifig <Reference Include="....." /> tag like described here. http://blogs.msdn.com/b/expression/archive/2008/04/09/creating-a-wpf-blend-project-that-loads-resources-in-code.aspx