但是,我无法为此类型生成.XmlSerializers.dll,SGen失败,错误代码为:[MicrosoftProperty or indexer 'TestSGen.MyItem.Values' cannot be assigned to -- it is read only"$(TargetFrameworkSDKToolsDirectory)SGen.exe&qu
reference:C:\buildAgent\work\6b1c1da90609c252\packages\AjaxMin.4.48.4489.28432\lib\net20\AjaxMin.dll
[SGen15.0\bin\Microsoft.Common.CurrentVersion.targets(3463, 5): warning MSB6002: The command-line for the "SGenTry reducing the length of the command-line by breaking down the
在我的.NET 3.5库中有一个sgen构建步骤。在VS2010中,这会生成无法从.NET 3.5应用程序加载的.NET 4 MyLib.XmlSerializers.dll。这是我的sgen构建步骤:
<Target Name="AfterBuild" DependsOnTargets="AssignTargetPaths;Compile;ResolveKeySource"-- Delete the file because I can't figure out how to force the <e