« www.answersthatwork.com identifies Windows Task List entries | Main | Serializing DateTimes »

solution task’s webmap element has case sensitivity and EntityName parsing bugs

The solution task was failing with a 403 error looking up webmap map entries until the casing on the url was matched to the casing in the solution file (.sln). Since the solution file’s casing is arbitrary (whatever you typed in when you added the project), this isn’t the right behavior.

Error checking whether 'http://localhost/virtualdirectory/root.csproj' is an enterprise template project.

 The remote server returned an error: (403) Forbidden.

 

A second bug appears to be Microsoft’s, a .csproj <File> element with a RelPath attribute value containing an ampersand causes a NAnt solution task error of

An error occurred while parsing EntityName.

The ampersand should have been converted to an entity reference of &amp;. That makes NAnt happy, but breaks Visual Studio. We’re not quite all there yet with XML are we….

 

Comments

This helped me out a lot. I was having the same problem and this informtion helped fix it. Thanks! Brandon

Thanks, As didn't know that webmap was case sensitive.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)