OSDN Git Service
(root)
/
applistation
/
AppliStation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
na-get-lib,チケット #26588 (ソフトウェアインストールの)異常終了後に AppliStation が起動不可になる問題の暫定対処
[applistation/AppliStation.git]
/
na-get-lib
/
NaGet
/
Utils.cs
diff --git
a/na-get-lib/NaGet/Utils.cs
b/na-get-lib/NaGet/Utils.cs
index
3e511b6
..
96c72ab
100644
(file)
--- a/
na-get-lib/NaGet/Utils.cs
+++ b/
na-get-lib/NaGet/Utils.cs
@@
-385,7
+385,9
@@
namespace NaGet
{
\r
object retVal = null;
\r
using (FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read)) {
\r
{
\r
object retVal = null;
\r
using (FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read)) {
\r
- retVal = sr.Deserialize(fs);
\r
+ using (System.Xml.XmlReader xreader = System.Xml.XmlReader.Create(fs)) {
\r
+ retVal = sr.Deserialize(xreader);
\r
+ }
\r
}
\r
return retVal;
\r
}
\r
}
\r
return retVal;
\r
}
\r