I just tried adding the following app.config file to msbuild:
<?xml version ="1.0"?>
<configuration>
<startup>
<requiredRuntime safemode="true" imageVersion="v1.1.4322" version="v1.1.4322"/>
</startup>
</configuration>
It seems to work … so far. That’s pretty good news if you want to try out MSBuild on your existing V1.1 projects. I haven’t tried this yet on a machine that doesn’t have V1.2 installed yet - any takers?
Update: It doesn’t work. I just tried it on a V1.1 framework box. There is at least one dependency on V1.2, but it appears to only occur on an error path in the code: V1.2 defines a SecurityException.get_PermissionStateInstance() method that isn’t present in V1.1. No time to dig through why the security exception was thrown in the first place, though … I guess we’ll have to wait and see whether there’s an “official” implementation in the future from MS.
4 archived reader comments
Rick Childress (2003-11-03)
Is MSBuild generally available?
Didn’t go to the PDC, MSDN non-subscriber.
John Lam (2003-11-03)
No it isn’t. But hopefully there might be some (good?) news on that front in the next few weeks. Stay tuned.
Slavo Furman (2003-11-03)
Hello!
There is “.NET Solution Build & Deployment Process & Tools” released as GotDotNet.com sample. This work with .NET Fx 1.0 and 1.1 (and also with 1.2)
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=2CB20E79-D706-4706-9EA0-26188257EE7D
btw, also include visual editor for MSBuild is included in this package.
hth, Slavo.
John Lam (2003-11-06)
Thanks Slavo!
I’d like to point out that this download is a collection of add-on tasks for the Alpha of MSBuild, not the MSBuild engine itself. I’ve already had a couple of emails from folks who mistakenly thought that it included the engine.