diff options
Diffstat (limited to 'msvc/scripts/genproj.cs')
-rw-r--r-- | msvc/scripts/genproj.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/msvc/scripts/genproj.cs b/msvc/scripts/genproj.cs index 3987abb212b..1e6b41108a7 100644 --- a/msvc/scripts/genproj.cs +++ b/msvc/scripts/genproj.cs @@ -756,7 +756,8 @@ class MsbuildGenerator { sources.AppendFormat (" <Compile Include=\"{0}\" />" + NewLine, src); } - sources.Remove (sources.Length - 1, 1); + if (sources.Length > 1) + sources.Remove (sources.Length - 1, 1); //if (library == "corlib-build") // otherwise, does not compile on fx_version == 4.0 //{ |