crickpaolo
asked on
Resources.VB.Designer
Hi,
I am trying to open an existing Visual Basic Solution for the first time, and I get this error message:
Unable to open module file 'C:\aaa\My Project\Resources.Designer .vb':
The system cannot find the file specified.
C:\aaa\My Project\Resources.Designer .vb
How do I fix this error?
I am using Visual Studio 2005. And VB 2005 (Windows App).
Thanks.
I am trying to open an existing Visual Basic Solution for the first time, and I get this error message:
Unable to open module file 'C:\aaa\My Project\Resources.Designer
The system cannot find the file specified.
C:\aaa\My Project\Resources.Designer
How do I fix this error?
I am using Visual Studio 2005. And VB 2005 (Windows App).
Thanks.
ASKER
Thanks Bob. How do you generate this file from within Visual Studio 2005?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks that did it. I created a new solution, then just copied and pasted the My Project folder on my existing project. Thanks a bunch Bob!
'-------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:2.0.50727.42
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-------------------------
Option Strict On
Option Explicit On
Imports System
Namespace My.Resources
'This class was auto-generated by the StronglyTypedResourceBuild
'class via a tool like ResGen or Visual Studio.
'To add or remove a member, edit your .ResX file then rerun ResGen
'with the /str option, or rebuild your VS project.
'''<summary>
''' A strongly-typed resource class, for looking up localized strings, etc.
'''</summary>
<Global.System.CodeDom.Com
Global.System.Diagnostics.
Global.System.Runtime.Comp
Global.Microsoft.VisualBas
Friend Module Resources
Private resourceMan As Global.System.Resources.Re
Private resourceCulture As Global.System.Globalizatio
'''<summary>
''' Returns the cached ResourceManager instance used by this class.
'''</summary>
<Global.System.ComponentMo
Friend ReadOnly Property ResourceManager() As Global.System.Resources.Re
Get
If Object.ReferenceEquals(res
Dim temp As Global.System.Resources.Re
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<summary>
''' Overrides the current thread's CurrentUICulture property for all
''' resource lookups using this strongly typed resource class.
'''</summary>
<Global.System.ComponentMo
Friend Property Culture() As Global.System.Globalizatio
Get
Return resourceCulture
End Get
Set
resourceCulture = value
End Set
End Property
End Module
End Namespace
Bob