![]() | ||
| Weblog | ||
|
|
||
Unable to get the project file from the webserverSometimes when working with Web-Projects in Visual Studio 2003 i’m getting this error message while all settings of IIS and the project files seem to be ok. Now I found one solution for this problem: clear up the VSWebCache folder in your documents and settings folder and it should work again. The cache seems to be poorly maintained by VS2003 so it could cause problems when the project structure has been reworked. ResourceManager again…So I think I found out the reason for the curious naming conventions of the resource namespaces: if you compile your project with visual studio, the full default namespace of the project and the resource filename build the resource name. If you build it with NAnt only the filename of the resx-file builds the resource name. This is very annoying because at development time we build mostly with visual studio and at deployment time we build and pack our projects with NAnt. So what’s the solution? When you create a Windows Form or an ASPX Webpage within Visual Studio it will link code and resource files together. The compiled in resources then have the namespace of the class from the form or page. You can clean up the code to have only a class definition in it so you do not have to compile in all the references a WinForm needs Using .NET ResourcemanagerEverytime I give the ResourceManager a chance I’m running into the same problem: usually I get a ManifestException ” Could not find any resources appropriate for the specified culture”. So, what’s the problem? When you create an instance of ResourceManager you have to supply the root name of the resources and the assembly of them. The difficult thing is the root name! I thought this is given in the form <AssemblyName>.<ResourceFile> (without a file extension). But that’s not always true. To make sure you have the right name just open ildasm and examine the assembly with your embedded resources. The manifest contains an entry beginning with .mresource public. The name after these words is the right resource root name (without the .resources extension). Here’s an example. The manifest contains the entry
Usually it’s a good practice to hold the ResourceManager in a static variable and create it only once. News from Ed & Fred
|
Suche im BlogKategorienPhotographie (40)Technologie (23) Programme & Tools (17) Speedesign (16) Design & Bildbearbeitung (15) Persönliches (15) Lichtmaler (13) Ausrüstung (9) Spass (8) Wordpress (7) Strobist-Studio (7) Entertainment (6) Freizeit (5) Snippets (5) Apple (5) Panorama (5) Entfesselt Blitzen (5) Software (5) Wettbewerbe (4) Photoshop (4) Wie bitte? (4) Desktop Wallpaper (4) Studio (2) Letzte KommentareAchim (Strobist-Studio: Blitzsystem)Hi. Also bei einem Cactus-System ist das ja egal. Da hast Du den Funksender auf der Kamera und für jeden Blitz einen Empfänger. Da kannst Du dann auch Typen mischen, weil die Blitze ja nicht mit ...
Claudia (Strobist-Studio: Blitzsystem)Wie sieht das denn aus, wenn ich einen Nikon SB-900 hab. Kann ich den als Master für so alte Blitze wie SB-20 verwenden?
Lg, Claudia
Rene (Mein Low-Budget Strobist Studio)Also ich denke die Größe kommt immer auf den Einsatzzweck an. Ich selber habe noch ein kleineres Studio eingerichtet, da ich allerdings hauptsächlich Produkt- und Portraitaufbahmen mache, ist di...
Achim (Strobist-Studio: Blitzsystem)Hallo Torsten,
genau so ist es. Entscheidender Unterschied: die Blitze sind komplett manuell zu steuern (also i.d.R. Reflektoreinstellung und Blitzleistung). Über die Funkauslöser wird nur das A...
Torsten (Strobist-Studio: Blitzsystem)Hallo, sehe ich das jetzt richtig, das der Funkauslöser Cactus Wireless Trigger V2s an stelle eines Blitzes auf die Kamera gesteckt wird und somit jede Kamera mit Blitzaufsatz nun mehrer Blitze tr...
| |
|
© 1999-2010 by speedesign.de - Alle Rechte vorbehalten powered by Wordpress und dem SitBackAndJoy-Theme v1.5 Theme Icons (Diagona Iconset) by pinvoke.com Entwickelt mit Eclipse auf einem Mac Danke an Nicole für die ehrliche und schonungslose Kritik. |
||