473,320 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

MSBee fails on Properties\Resources.resx with DirectoryNotFoundException

Hi, I've been using MSBee to build a small program for some time now
(since not everyone seems to have the 2.0 CLI installed yet).

Recently I decided to add some buttons that used images, so I naturally
placed the images in the project directory, then assembled them into a
resource file using the resource editor, which VS2005 placed the final
resource file in Properties\Resources.resx. All seemingly normal, no
hiccups thus far. Everything builds fine in Visual Studio.

Now, I open up a shell, run:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbu ild.exe
TestResx11.sln /t:Rebuild /p:TargetFX1_1=true
/p:CustomAfterMicrosoftCommonTargets="%ProgramFiles %\MSBuild\MSBee\MSBuildExtras.Fx1_1.CSharp.targets "

(all on one line of course, and from within the solution's directory)

ResGen fails giving the afore mentioned DirectoryNotFoundException,
which it hits while looking for:
....My Documents\Visual Studio 2005\Projects\images\test.png
instead of looking in:
....My Documents\Visual Studio 2005\Projects\TestResx11\images\test.png

The Resources.resx file declares the resources relatively:
...\images\test.png

However, ResGen doesn't seem to update the working directory, or
something like that, so it goes a level above the solution directory,
instead of the directory it's processing the file in.

I've been looking for a while, and haven't found anything. If anyone
has any input here, I'd appreciate it. Thanks, and sorry if this isn't
the right group, but a cursory search for MSBee seemed to point me
here.

Dan

Jan 9 '07 #1
0 1370

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matthias Ludwig | last post by:
I'm trying to create a directory on the web server with a vb.net code: .... Dim dirName As String = "w:\filepath\images" If Not Directory.Exists(dirName) Then...
4
by: Frederico Caldeira Knabben | last post by:
Hello, I'm having a problem when trying to use the Directory.CreateDirectory() method. It throws a DirectoryNotFoundException exception. I'll try to illustrate it: Suppose you have the...
8
by: Henry | last post by:
Hi, in a Windows form VB.Net project I use localization for all texts. In App.Config I added: <appSettings> <add key="locale" value="de"/> </appSettings> In the project I have ressource...
0
by: prabhupr | last post by:
Hi Folks I'm currently working on a Localization+Globalization project; for this project, we need to generate ".Resx" files and we use "US English" Resx file as the base version, to compare the...
0
by: Achim Domma | last post by:
Hi, I try to develop a localized Asp.Net 1.1 application. I have added two resource files to my app, which are called 'Labels.resx' and 'Labels.de.resx'. If I compile the app, I see a 'de'...
1
by: Divided Sky | last post by:
Is there an msbuild-specific discussion group? Also, is there an msbee discussion group that is active? Is there a good resource for info about using Microsoft.Build.BuildEngine.Engine class? ...
2
by: Frank Rizzo | last post by:
I understand that the MSBee project helps you support .NET 1.1 projects in VS2005. I don't understand the details though. So, here is my situation. I have a .NET 1.1 WinForms project that I...
0
by: Mark W. Schumann | last post by:
Hi, all. I've been working with Visual Studio 2003 for a long time but am upgrading now to VS2005. I have an existing (C#) Web Service project that still needs to work with .NET Framework 1.1. ...
8
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.