VS2008 Compiler problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alejandro Gaio

    VS2008 Compiler problem

    Hello All,

    I have a problem that appeared with the NEW VERSION of the vb.net compiler
    (VS 2008).
    To resume things, I have a project (call it "DocumentAdmini strator") with
    several forms, and two resource files for spanish and english strings. The
    problem is that when I compile the project in the old VS 2005 the
    neutral-culture resource that is inside the project IS embedded into the
    final EXE, but with the new VS 2008 THIS FILE IS NOT INCLUDED in the
    compilation.

    The two string resource files are called Strings.en.txt and Strings.es.txt.
    Besides building satellite assemblies with these files, I use RESGEN to
    compile Strings.en.txt as "DocumentAdmini strator.Strings .resources" to make
    it the neutral-culture assembly. This file is then embedded into the project
    and the "Embedded resource" build action is selected for it.

    I copied the compiler line that appears in the output window of both
    versions (VS 2005 and VS 2008) and this is what I saw:

    VS 2005: (Lines resumed for better clarity)
    C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Vbc.exe /noconfig
    /baseaddress:110 00000 ...
    /out:"obj\Debug\ Document Administrator.e xe"
    /resource:obj\De bug\frmImport.r esources
    /resource:obj\De bug\frmCloneOpt ions.resources
    /resource:"obj\D ebug\Document Administrator.S trings.resource s" **** The
    resource IS compiled into the final EXE

    VS 2008: (Lines resumed again)
    C:\WINDOWS\Micr osoft.NET\Frame work\v3.5\Vbc.e xe /noconfig
    /baseaddress:110 00000 ...
    /out:"obj\Debug\ Document Administrator.e xe"
    /resource:obj\De bug\frmImport.r esources
    /resource:obj\De bug\frmCloneOpt ions.resources
    **** The resource IS NOT compiled into the final EXE

    Note: The VS2008 setup has no service packs applied.

    Any help will be very appreciated, thanks in advance
    Alejandro



Working...