[MonoDevelop] [patch] fix project ID referencing

Casey Marshall cmarshall at pacificbiosciences.com
Wed Jul 9 19:45:31 EDT 2008


On Wed, 2008-07-09 at 15:53 -0700, Casey Marshall wrote:
> For msbuild files, MonoDevelop would write out project references with
> the wrong project ID -- it looks like it used the ID of the current
> project, not the referenced one.
> 
> Patch attached (generated in main/src/core/MonoDevelop.Projects).
> 
> 2008-07-09  Casey Marshall  <cmarshall at pacificbiosciences.com>
> 
> 	* MSBuildProjectHandler.cs (Save): use the referenced project's
> 	ID, not our ID.
> 
> Released under the MIT/X11 license, though it's trivial.
> 
> Thanks.

Here's one additional change to the same file: this makes MD respect the
`RequiredTargetFramework' value that Visual Studio 2008 places in
certain GAC references.

Now modifying an msbuild file in MonoDevelop is only changing two things
that it shouldn't, for me: the TargetFrameworkVersion value (it replaces
v3.5 with v2.0) and certain assembly references get modified (the
"processorArchitecture=MSIL" thing gets removed, and a
PublicKeyToken=... gets added; though that's hardly a big deal).

2008-07-09  Casey Marshall  <cmarshall at pacificbiosciences.com>

	* MSBuildProjectHandler.cs (Load): save the 
	`RequiredTargetFramework' metadata.
	(Save): use the referenced project's ID, not our ID; write out 
	`RequiredTargetFramework' metadata if it was set.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msbuild-refs2.patch
Type: text/x-patch
Size: 1780 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20080709/7d41ee2b/attachment-0001.bin 


More information about the Monodevelop-list mailing list