Sebastien,
> 335 should have been fixed, as the msbuild detection has been rewritten and should have included all those files. I'm very surprised they haven't so far, but I've not had the time to look at those well. It may be differences between versions of msbuild, I'd suggest looking at that side of things first.
Well, I wrote some comments on the issue itself. From what I could
see: Code Contracts reference assemblies were not picked up by the
MSBuild code. I already added a patch for that on the issue.
Next to that, satellite assemblies are picked up by the MSBuild code
and generates something along the lines of this:
[built(bin-net35,
c:\mybuildpath\myproject\scratch\bin\projectA-Debug\nl\app.resources.dll,
false)]
The problem as I see it, is that in the processing afterwards, the
fact that "app.resources.dll" must be placed inside the "nl" folder,
gets lost. That relative folder can only be correctly determined, if
you also specify the "root" of the folder.... for example something
along this:
[built(bin-net35,
c:\mybuildpath\myproject\scratch\bin\projectA-Debug\,
nl\app.resources.dll, false)]
Or in some other way.. one could use an extra parameter that contains
all possible root folders, and then during the processing in the C#
code figure out to which root a certain file belongs, and determine
the relative path based on that.
> 334, I'd recommend looking at the code that sets the plugin as enabled in the 6.1 project. You can probably liaise with Peter mounce as he did that integration work.
I think I've found it. I noticed that in the code for disposing the
plugin, there is explicit code to disable the plugin. In the start
code for ReSharper 5.1, there is explicit code to enable the plugin.
That code is not there for ReSharper 6.0 and 6.1. When I put it there,
it seems to consistently enable the plugin for me. (I noticed that
before, most of the time the plugin is not enabled, and some rare
cases the plugin was actually enabled...) I can create you a patch
tomorrow.
> Debug was renamed ShellDebug as it was conflicting with the -debug on build-wrap.
Ok.
> Regarding the stability of the resharper integration, yes we still have some issues there and is something I will look at for 2.0.4.
Ok, but I have to say that if the plugin is always enabled, that is
already going a long way.
> As for the static mode, yes it is in the plans but it's a major undertaking. It requires building a DTE bridge for VS, a full msbuild parser that can evaluate expressions (or hosting msbuild to evaluate files, which requires two different implementations, once for v3 and v4), changing build-wrap to host msbuild to detect correctly the various outputs (and dealing with xbuild differences) or building dynamically a host msbuild when building, and that doesn't include things like automatic assemblyinfo.cs generation which is no longer possible, and requiring some UI in Vs to prevent people from mucking about with references added from OpenWrap.
>
> We can probably do this in a phased way, and I'm putting the wrapping msbuild file in 2.0.3, but the rest is just going to take time. It's less than ideal but we will have to, as you pointed out VS is not a good enough MSBuild citizen to work well with dynamic injection.
>
> In other words, it will probably be a 2.1 feature. The anchored with static references way is also one possible way to do this indeed, and has the same features as using nuget.exe, so it may be worth documenting it on the wiki.
>
> Hopefully we'll get these in the pipeline very soon.
Ok, I see it's a "little bit" more work than I thought. In any case, I
would love to switch to 2.0.3 as soon as those remaining issues (334
and 335) are resolved.
Ruben