Resharper and Config based Assembly References
I'm currently working on a project that depends heavily upon web. config and machine.config in order to provide the file path hints to Assemblies it is using.
It uses this rather than the stereotypical method of adding Project Reference pointers.
However this means resharper can't pick these up and as a result it marks huge amounts of my code 'red' because it cannot resolve these file based references.
Is there any sort of plugin i can install that will allow resharper to resolve the file based references?
Please sign in to leave a comment.
Michael,
Could You create a small sample solution for us?
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Yep.
Here you go. (You'll have to change the web.config hint path to reflect your directory structure) - but other than that it should be good to go.
Thanks
Mike
Attachment(s):
WebApp.rar
Hey Sergey,
Did you get a chance to look at this yet?
Thanks
Mike
Mike,
Unfortunately, I somehow missed Your post with a sample. I'll check it
tomorrow. Thanks a lot for the feedback.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Michael,
I looked at Your sample. We'll fix the problem, but I cannot promise the fix
in a couple of days. The optimistic estimation is a week.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Cool!
Will that go into a new version of resharper or some sort of plugin?
Cheers
Mike
It would be included into the bugfix update.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Will resharper automatically detect, download and update with the bug fix or will I have to manually download and install it?
Cheers
Mike
You'll manually download and install it when it's announced as available.
"michaelhx" <no_reply@jetbrains.com> wrote in message
news:24780633.1150813675502.JavaMail.itn@is.intellij.net...
>
Hey Sergey
Do you know what Resharper build this fix will go into yet?
Many Thanks
Mike
Fixed in build 254.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Sweet!!!!!!!!!
Lookin forward to it!!
Many thanks Sergey!!!!
Mike
Hey Sergey,
]]>I just downloaded and installed Buld 254 and it doesn't look like the fix is in it?
Will it be in a later build?
Also - will it be able to use config files referenced from within the application's web.config?
eg
.....
and will it use the machine.config and web.config that sit in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG?
Many Thanks
Mike
Michael,
Pretty strange. The solution you've sent us is ok.
Could you submit a request into the tracker, please?
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
The only one remark. The changes in web.config are recognized by R# only
after You save it and compile or switch to another app and back.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:e8j0ag$r0d$1@is.intellij.net...