Changeset 17015
- Timestamp:
- 06/18/19 16:02:52 (5 years ago)
- Location:
- trunk/HeuristicLab.Core.Views/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Core.Views/3.3/Clipboard.cs
r16997 r17015 155 155 foreach (string filename in items) { 156 156 try { 157 T item = (T)ContentManager.Load(filename); 157 T item = null; 158 if (HeuristicLab.Persistence.Default.Xml.XmlParser.CanOpen(filename)) { 159 item = HeuristicLab.Persistence.Default.Xml.XmlParser.Deserialize<T>(filename); 160 } else { 161 item = (T)new ProtoBufSerializer().Deserialize(filename); 162 } 158 163 OnItemLoaded(item, progressBar.Maximum / items.Length); 159 } catch (Exception) {164 } catch (Exception) { 160 165 // ignore if loading a clipboad item fails. 161 166 } -
trunk/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj
r16997 r17015 375 375 <Private>False</Private> 376 376 </ProjectReference> 377 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> 378 <Project>{102bc7d3-0ef9-439c-8f6d-96ff0fdb8e1b}</Project> 379 <Name>HeuristicLab.Persistence-3.3</Name> 380 <Private>False</Private> 381 </ProjectReference> 377 382 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj"> 378 383 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project> -
trunk/HeuristicLab.Core.Views/3.3/Plugin.cs.frame
r16997 r17015 35 35 [PluginDependency("HeuristicLab.MainForm", "3.3")] 36 36 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 37 [PluginDependency("HeuristicLab.Persistence", "3.3")] 37 38 public class HeuristicLabCoreViewsPlugin : PluginBase { 38 39 }
Note: See TracChangeset
for help on using the changeset viewer.