Quantcast
Channel: MSBuild Extension Pack
Viewing all articles
Browse latest Browse all 1211

Edited Issue: AssemblyInfo task fails when updating attribute that contains "http://" string [11900]

$
0
0
MSBuild.ExtensionPack.Framework.AssemblyInfo fails with the following message if (for example) the AssemblyProduct that should be replaced contains "http://".

Given this task

```
<MSBuild.ExtensionPack.Framework.AssemblyInfo
AssemblyInfoFiles="%(_assemblyInfos.Identity)"
AssemblyVersion="$(Version)"
AssemblyFileVersion="$(Version)"
... more ...
AssemblyProduct="abc"
/>
```

and an AssemblyInfo.cs containing

```
[assembly: AssemblyProduct("abc (http://abc.codeplex.com)")]
```

fails with an error like

```
C:\...\msbuild.build(174,5): error : Unable to update the AssemblyProduct for C:\...\AssemblyInfo.cs: No stub entry for AssemblyProduct was found in the AssemblyInfo file.
```

Viewing all articles
Browse latest Browse all 1211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>