每日“重建解决方案"必需的 [英] Daily "Rebuild Solution" required

查看:75
本文介绍了每日“重建解决方案"必需的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个(讨厌的)问题.为了能够在我的WPF应用程序上工作,我需要重建解决方案".症状(我在输出窗口中得到的信息)在下面列出.当然,在重建解决方案"之后一切都进行得很好.但这仍然意味着某个地方有麻烦!
有什么创意要让我开心吗?

//输出窗口--------------------------------------- -------------------------------------------------- --------

PresentationFramework.dll中发生类型'System.IO.IOException'的第一次机会异常

其他信息:无法找到资源'images/dartfish.ico '.

在PresentationFramework.dll中发生类型'System.Windows.Markup.XamlParseException'的第一次机会异常

其他信息:无法转换字符串'pack://application:,,,/Dartfish属性"Icon"中的.Applications.Application; component/images/Dartfish.ico指向类型为"System.Windows.Media.ImageSource"的对象.无法找到资源"images/dartfish.ico".标记文件'Dartfish.Applications.Application; component/window1.xaml'中的对象'Dartfish.Applications.Application.Window1'错误,第13行位置18.

类型为'System.Windows'的第一次机会异常. Markup.XamlParseException"发生在PresentationFramework.dll中

其他信息:无法在属性"Icon"中转换字符串"pack://application:,,,/Dartfish.Applications.Application; component/images/Dartfish.ico" '指向类型为'System.Windows.Media.ImageSource'的对象.无法找到资源"images/dartfish.ico".标记文件"Dartfish.Applications.Application; component/window1.xaml"中的对象"Dartfish.Applications.Application.Window1"出错.第13行位置18.

类型为"System.Windows"的第一次机会异常. Markup.XamlParseException"发生在PresentationFramework.dll中

其他信息:无法在属性"Icon"中转换字符串"pack://application:,,,/Dartfish.Applications.Application; component/images/Dartfish.ico" '指向类型为'System.Windows.Media.ImageSource'的对象.无法找到资源"images/dartfish.ico".标记文件'Dartfish.Applications.Application; component/window1.xaml'中的对象'Dartfish.Applications.Application.Window1'错误,第13行位置18.

类型为'System.Windows'的第一次机会异常. Markup.XamlParseException"发生在PresentationFramework.dll中

其他信息:无法在属性"Icon"中转换字符串"pack://application:,,,/Dartfish.Applications.Application; component/images/Dartfish.ico" '指向类型为'System.Windows.Media.ImageSource'的对象.无法找到资源"images/dartfish.ico".标记文件'Dartfish.Applications.Application; component/window1.xaml'中的对象'Dartfish.Applications.Application.Window1'错误,第13行位置18.

无法初始化Application
System.Windows.Markup .XamlParseException:无法将属性图标"中的字符串"pack://application:、、、/Dartfish.Applications.Application; component/images/Dartfish.ico"转换为类型"System.Windows.Media.ImageSource"的对象.无法找到资源"images/dartfish.ico".标记文件"Dartfish.Applications.Application; component/window1.xaml"的对象"Dartfish.Applications.Application.Window1"在第13行位置18处出现错误. System.IO.IOException:无法找到资源"images/dartfish.ico".在MS.Internal.AppModel.ResourcePart.GetStreamCore(在FileMode模式下,可以访问FileAccess)在System.IO.Packaging.PackagePart.GetStream(在FileMode模式下,可以对FileAccess访问)在System.IO.Packaging上. PackWebResponse.CachedResponse.GetResponseStream()在System.IO.Packaging.PackWebResponse.GetResponseStream()在System.IO.Packaging.PackWebResponse.get_ContentType()在System.Windows.Media.Imaging.BitmapDecoder .SetupDecoderFromUriOrStream(Uri uri,流流,BitmapCacheOption cacheOption,Guid& clsId,Boolean& isOriginalWritable,Stream& uriStream,UnmanagedMemoryStream& unmanagedMemoryStream,SafeFileHandle& safeFilehandle)在System.Windows.Media.Uriri ,Uri uri,Stream流,BitmapCreateOptions createOptions,BitmapCacheOption cacheOption,RequestCachePolicy uriCachePolicy,布尔insertInDecoderCache)在System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri,Uri uri,St束流,BitmapCreateOptions createOptions,BitmapCacheOption cacheOption,RequestCachePolicy uriCachePolicy)在System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext上下文,CultureInfo文化,对象值)在System.ComponentModel.TypeConverter.ConvertFromString(ITypeDescriptorContext上下文, CultureInfo文化,字符串文本),位于System.Windows.Markup.XamlTypeMapper.ParseProperty(对象targetObject,类型propType,字符串propName,对象dpOrPiOrFi,ITypeDescriptorContext typeContext,ParserContext parserContext,字符串值,Int16 converterTypeId)
-内部异常堆栈跟踪的结尾--- System.Windows.Markup.XamlParseException.ThrowException(字符串消息,异常innerInnerException,Int32 lineNumber,Int32 linePosition,Uri baseUri,XamlObjectIds currentXamlObjectIds,XamlObjectIds contextXamlObjectIds,类型objectType)
在System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext,Int32 lineNumbe r,Int32 linePosition,字符串消息,异常innerException)在System.Windows.Markup.XamlTypeMapper.ParseProperty(Object targetObject,类型propType,字符串propName,对象dpOrPiOrFi,ITypeDescriptorContext typeContext,ParserContext parserContext,字符串值,Int16 converterTypeId)<在System.Windows.Markup.BamlRecordReader.ParseProperty(对象元素,类型propertyType,字符串propertyName,对象dpOrPi,字符串attribValue,Int16 converterTypeId)在System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(String attribValue,Int16 attributeId ,Int16 converterTypeId)在System.Windows.Markup.BamlRecordReader.ReadPropertyConverterRecord(BamlPropertyWithConverterRecord bamlPropertyRecord)在System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)在System.Windows.Markup.BamlRecordReader中.在System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()中读取(Boolean singleRecord)在System.Windows.Markup.TreeBuilder.Parse()中进行读取.
在System.Windows.Markup.XamlReader.LoadBaml(流流,ParserContext parserContext,对象父级,布尔型closeStream)在System.Windows.Application.LoadComponent(对象组件,Uri resourceLocator)在Dartfish. c:\ Dartfish \ Dartfish Software 5.0 \ Source \ Applications \ Application \ Window1.xaml:line 1中的Applications.Application.Window1.InitializeComponent()在Dartfish.Applications.Application.Window1..ctor(ApplicationHost主机)中C:\ Dartfish \ Dartfish软件5.0 \ Source \ Applications \ Application \ Window1.xaml.cs:第31行'Dartfish.Applications.Player.exe'(托管):已加载'C:\ Dartfish \ Dartfish Software 5.0 \ Bin \ Debug \ Dartfish.Components.ChannelIOLib.dll',已加载符号.

I've a (annoying) problem. To be able to work on my WPF application, I need to "Rebuild Solution". The symptoms (what I get in the output window) are listed below. And of course everything is going well after a "Rebuild Solution". But this still means that there is a trouble somewhere!
Any ideas guys to make my day? 

// The output window -------------------------------------------------------------------------------------------------

A first chance exception of type 'System.IO.IOException' occurred in PresentationFramework.dll

Additional information: Cannot locate resource 'images/dartfish.ico'.

A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll

Additional information: Cannot convert string 'pack://application:,,,/Dartfish.Applications.Application;component/images/Dartfish.ico' in attribute 'Icon' to object of type 'System.Windows.Media.ImageSource'. Cannot locate resource 'images/dartfish.ico'. Error at object 'Dartfish.Applications.Application.Window1' in markup file 'Dartfish.Applications.Application;component/window1.xaml' Line 13 Position 18.

A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll

Additional information: Cannot convert string 'pack://application:,,,/Dartfish.Applications.Application;component/images/Dartfish.ico' in attribute 'Icon' to object of type 'System.Windows.Media.ImageSource'. Cannot locate resource 'images/dartfish.ico'. Error at object 'Dartfish.Applications.Application.Window1' in markup file 'Dartfish.Applications.Application;component/window1.xaml' Line 13 Position 18.

A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll

Additional information: Cannot convert string 'pack://application:,,,/Dartfish.Applications.Application;component/images/Dartfish.ico' in attribute 'Icon' to object of type 'System.Windows.Media.ImageSource'. Cannot locate resource 'images/dartfish.ico'. Error at object 'Dartfish.Applications.Application.Window1' in markup file 'Dartfish.Applications.Application;component/window1.xaml' Line 13 Position 18.

A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll

Additional information: Cannot convert string 'pack://application:,,,/Dartfish.Applications.Application;component/images/Dartfish.ico' in attribute 'Icon' to object of type 'System.Windows.Media.ImageSource'. Cannot locate resource 'images/dartfish.ico'. Error at object 'Dartfish.Applications.Application.Window1' in markup file 'Dartfish.Applications.Application;component/window1.xaml' Line 13 Position 18.

Cannot initialize Application
System.Windows.Markup.XamlParseException: Cannot convert string 'pack://application:,,,/Dartfish.Applications.Application;component/images/Dartfish.ico' in attribute 'Icon' to object of type 'System.Windows.Media.ImageSource'. Cannot locate resource 'images/dartfish.ico'. Error at object 'Dartfish.Applications.Application.Window1' in markup file 'Dartfish.Applications.Application;component/window1.xaml' Line 13 Position 18. ---> System.IO.IOException: Cannot locate resource 'images/dartfish.ico'.
at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access)
at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access)
at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.get_ContentType()
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.ComponentModel.TypeConverter.ConvertFromString(ITypeDescriptorContext context, CultureInfo culture, String text)
at System.Windows.Markup.XamlTypeMapper.ParseProperty(Object targetObject, Type propType, String propName, Object dpOrPiOrFi, ITypeDescriptorContext typeContext, ParserContext parserContext, String value, Int16 converterTypeId)
--- End of inner exception stack trace ---
at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)
at System.Windows.Markup.XamlTypeMapper.ParseProperty(Object targetObject, Type propType, String propName, Object dpOrPiOrFi, ITypeDescriptorContext typeContext, ParserContext parserContext, String value, Int16 converterTypeId)
at System.Windows.Markup.BamlRecordReader.ParseProperty(Object element, Type propertyType, String propertyName, Object dpOrPi, String attribValue, Int16 converterTypeId)
at System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(String attribValue, Int16 attributeId, Int16 converterTypeId)
at System.Windows.Markup.BamlRecordReader.ReadPropertyConverterRecord(BamlPropertyWithConverterRecord bamlPropertyRecord)
at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord)
at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
at System.Windows.Markup.TreeBuilder.Parse()
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at Dartfish.Applications.Application.Window1.InitializeComponent() in c:\Dartfish\Dartfish Software 5.0\Source\Applications\Application\Window1.xaml:line 1
at Dartfish.Applications.Application.Window1..ctor(ApplicationHost host) in C:\Dartfish\Dartfish Software 5.0\Source\Applications\Application\Window1.xaml.cs:line 31'Dartfish.Applications.Player.exe' (Managed): Loaded 'C:\Dartfish\Dartfish Software 5.0\Bin\Debug\Dartfish.Components.ChannelIOLib.dll', Symbols loaded.

推荐答案

有关更多详细信息,您可以粘贴演示代码吗? 这里?或将项目的完整版本发送到我的电子邮件中:

For more detailed information, can you paste your demo code here? Or send the full version of your project to my email:

liangtom@gmail.com


这篇关于每日“重建解决方案"必需的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆