posts - 5, comments - 11, trackbacks - 0

CustomAttributeFormatException in VS2010 Beta 1

I’ve been doing some development recently with Visual Studio 2010 Beta 1 and because of this I ran across a bug in .NET 4.0 Beta 1:

CustomAttributeFormatException

This cropped up when I decided to introduce logging into my application using the Microsoft Enterprise Library. I soon found out that the current version of the Enterprise Library will not work with .NET 4.0 Beta 1 due to an existing bug.

The quick fix to this is to make sure your project is targeting .NET 3.5 SP1, which my project already was. After some more digging around I realized that though I was targeting 3.5, Visual Studio was hosting my WCF service using its .NET 4.0 version of WcfSvcHost.exe.

The workaround that I’ve created involves pointing my project to the VS 2008 version of the WCF Service Host for debugging purposes:

Project Properties

The external program path I’m using is “C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\WcfSvcHost.exe”, though your path may vary. I set the working directory to my project’s debug directory.

Here is the direct link to the Microsoft Connect bug report in case you want to validate it or vote it up.

Print | posted on Monday, June 01, 2009 11:57 PM |

Feedback

Gravatar

# re: CustomAttributeFormatException in VS2010 Beta 1

But did evening gowns you've a selection, which can be particularly essential for young girls, brides, expectant wife? You have discovered your unique wedding ceremony evening dresses long dress? Pay a visit to our bridal store, you'll be able to not only get a marriage ceremony dress, but also to choose up all the needed gowns to svadeb. Our consultants will attempt to discover what the requirements and wishes you present your marriage ceremony gown.
1/15/2012 3:40 AM | boxweddingdress
Gravatar

# Writing

Nice Blog,I Like For Putting This Together! "This is obviously one Nice post. Thanks for the valuable information and
insights you have so provided here. Keep it up!"
Writing Help
1/24/2012 4:25 AM | Writing Help

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 2 and 1 and type the answer here:

Powered by:
Powered By Subtext Powered By ASP.NET