PC Review


Reply
Thread Tools Rate Thread

Differences in .Resources files between Visual Studio 2005 beta1 a

 
 
=?Utf-8?B?YW5vaQ==?=
Guest
Posts: n/a
 
      21st Jul 2005
Our build system builds against the 1.1 .Net framework, but uses msbuild
from Visual studio 2005.
This allowed us to create ant style .csproj build scripts, which we couldn't
do with Visual Studio 2003.
All of this worked fine with Visual Studio 2005 beta1.
When we were forced to upgrade, with no notice, our build system no longer
worked.
In beta 1 there was a tool called cfresgen.exe which has been removed and
replaced with resgen.exe in beta2.
The cfresgen allowed us to compile our .resx resources files and convert
them to .resources files which could be used when building against the 1.1
framework.
The new resgen tool which has superceded this will again allow us to do this
compilation, however when the .resources files it generates are used within
the 1.1 framework they fail.

The exception is:

Message : System.Reflection.TargetInvocationException : Exception has been
thrown by the target of an invocation. ---->
System.NotSupportedException : This .resources file shouldn't be used with
this reader. Your resource reader type: System.Resources.ResourceReader,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Stack-Trace :
at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
isBinderDefault)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr,
Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder
binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at System.Resources.ResourceManager.CreateResourceSet(Stream store)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo
culture)
at System.Resources.ResourceManager.GetString(String name)
at Iona.Build.Utilities.DependencyParserTest.copyTemplate(String templateName)

 
Reply With Quote
 
 
 
 
Peter Huang [MSFT]
Guest
Posts: n/a
 
      22nd Jul 2005
Hi

So far Whidbey issue is not officially supported.
For Whidbey related issue, I think you may try to post in vs2005 forum.
http://lab.msdn.microsoft.com/vs2005/community/

Thanks for your understanding!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer. Daniel Microsoft Dot NET Framework 1 14th May 2007 08:05 PM
Visual Studio 2005 C++ Resources Kris Microsoft Dot NET Framework 0 19th Jan 2006 08:35 AM
.Resources differences between Visual Studio 2005 beta1 and beta2 =?Utf-8?B?cm95X2lzXyBhX21heWZpZWxkX2xlZ2VuZA==?= Microsoft Dot NET Framework 0 20th Jul 2005 03:52 PM
SSL support in visual studio 2005 beta1 Laxmikant Rashinkar Microsoft C# .NET 2 18th Jan 2005 05:26 PM
Visual Studio 2005 Beta 1 Refresh vs Visual Studio 2005 CTP vs Visual C++ 2005 Express Beta1 Peter Nimmo Microsoft VC .NET 1 16th Dec 2004 03:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:59 PM.