|
| ||||||||||
| Tags: asp dot net, assembly, dotnet source file, global resource |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| How and where do I find the .Net source file
|
|
#2
| |||
| |||
| Re: How and where do I find the .Net source file
Resource files (.resx, .resource) can be compiled into an assembly or put into their own assembly as a satellite resource. Its ugly because I already have a reference to the webproject (which I can probably remove now...) and I don't like mixing source files between projects. When compiled into an app, you’re stuck with what you have at compile time, but that’s not a problem if you’re simply wrapping up something that won’t change between builds. |
|
#3
| ||||
| ||||
| Re: How and where do I find the .Net source file
Have you considered moving your GlobalResources into a separate assembly and then referencing that from both your web project and your test project? You can add a resource file via the "Add Item…" item in the Solution Explorer. When you open the file, you’re presented with VS.NET’s XML editor, as the resx format is a simple XML document. The columns presented are Name, Value, Comment, Type and MimeType. When using strings, you only need to be concerned with the Name and Value columns. |
|
#4
| |||
| |||
| Re: How and where do I find the .Net source file
WinResourceFileCreator will create a resource file (either resx or resources) with the files that you choose. Currently it only creates resource files, it will not load them and let you edit the contents. The ResourceManager class offers the simplest way. The most useful constructor takes an assembly and the root name to pick the resources from. The problem is the ASP.Net does some precomilation processing on the resource files and compiles them into an assembly called App_GlobalResources. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How and where do I find the .Net source file" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dead space 2 error while installation "Source file not found: (file destination)...Verify that file exists | Ucchal | Video Games | 3 | 28-01-2011 05:26 AM |
| cannot delete file -- cannot read from source file or disk | Amitgujaran | Windows XP Support | 3 | 11-11-2010 08:55 PM |
| Find all package dependencies for source install | _Gentoo_Nile_ | Operating Systems | 3 | 29-10-2009 02:21 PM |
| How to find the source code of any program? | Chandrakant81 | Software Development | 4 | 13-02-2009 07:54 PM |
| XP: Cannot delete file: Cannot read from the source file or disk. | iexplorer0726 | Operating Systems | 0 | 10-09-2007 05:07 AM |