Error 1 Source File Assemblyinfo Cs Could Not Be Opened
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads assemblyversioninfo.cs could not be found with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack
Assemblyinfo.cs File Missing
Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign
The File Assemblyinfo.cs Could Not Be Found Within The Project Templates
up AssemblyInfo.cs could not be opened - Unspecified Error [closed] up vote 6 down vote favorite 1 I was working offline from TFS for a while in my solution. I went back online (TFS) and when I tried to compile my
Sharedassemblyinfo.cs Could Not Be Found
solution I get this for a project I had added to this solution. AssemblyInfo.cs could not be opened - Unspecified Error I checked and that file is there so not sure why it can't utilize/read it. This is an ASP.NET Web Application and the project it's complaining about here is just a regular C# class library project. asp.net-mvc share|improve this question edited Jul 28 '12 at 15:44 tereško 42.5k1567124 asked Nov 28 '11 at 6:49 WeDoTDD.com 13.4k80220399 closed as too localized by Kev Nov csc source file 'properties settings.designer.cs' could not be found 28 '11 at 15:39 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question. Check your file in Windows Directory whether it is there or not and also check it if it is ready-only. –Tarik Nov 28 '11 at 6:53 It's there and not read-only. I had checked this before posting. –WeDoTDD.com Nov 28 '11 at 7:04 found it. The project has a missing ref to its AssemblyInfo.cs –WeDoTDD.com Nov 28 '11 at 7:13 add a comment| 2 Answers 2 active oldest votes up vote 7 down vote I have had this happened to me in the past. This can be more of a Visual Studio problem more than anything else. What this means is that the AssemblyInfo.cs file is either missing from the Properties folder in the project or there is a permissions issue. If there is a permissions issue, update the ACL (File > Properties > Security), close and re-open the project. If missing altogether, you just need to recreate it taking the following steps: Within Visual Studio 2010, select Tools > Create GUID Click Copy (or New GUID then
not be opened (‘Unspecified error ‘) October 31, 2013by Anuj Varma2 min readAdd Comment Introduction You’ve just downloaded a project (from either codeproject or github or some other assemblyinfo.cs location repository) – and opened it up in your current version of Visual the property could not be read written because the language service returned an unknown error Studio. On trying to compile it, you encounter the following error: AssemblyInfo.cs' could not be opened (‘Unspecified source file could not be opened unspecified error visual studio error ‘) This seems to occur for every project in your solution that contains an AssemblyInfo.cs. Simply put, the assemblyinfo.cs contains ‘metadata’ (version number, guid etc.) for your assembly. http://stackoverflow.com/questions/8292362/assemblyinfo-cs-could-not-be-opened-unspecified-error This metadata is useful in uniquely identifying your assembly to all its consumers. Workaround 1 Simply delete these assemblyinfo.cs files. If all you are trying to do is view sample source code, you do not really care about the versioning or COM interoperability (GUID) of the assembly. Your project should compile just fine after this deletion. Workaround 2 If http://www.anujvarma.com/source-file-propertiesassemblyinfo-cs-could-not-be-opened-unspecified-error/ deleting the file is not an option – and you do need the metadata, simply delete the offending file – and create a new one. To create a new one, click on the ‘Properties’ folder in your project (see below). This should bring up the properties dialog. There should be an ‘Assembly Information’ button. Now, the only thing the assembly information really needs is a GUID. From your Tools menu—>CreateGUID as shown below. Click ‘Copy’ on the CreateGUID popup – and paste that content into the Assembly Information screen from the previous step. Delete the leading slashes in the GUID, since you do not need those. Click OK – and you should be done. You will have an assemblyinfo with a GUID – and your project will compile just fine. Summary While uploading projects, the assemblyinfo.cs file often goes missing – and causes a compilation error for users who try downloading and compiling the project. The workaround is simple – either delete the file altogether (you don’t need it) – or delet
You must Sign In to post a response. Category: .NET16 Jan 2008 06:54swathi.chilumulaJoined:04/06/2007Level:GoldPoints:782Points:2AssemblyInfo.cs and Program.cs is not foundHi 2 All, Error 1 Source file 'E:\Employee Modules\HR_Attendance\HR_Attendance\Properties\AssemblyInfo.cs' could not be opened ('The system cannot find http://www.dotnetspider.com/forum/120092-AssemblyInfo-cs-and-Program-cs-is-not-found.aspx the file specified. ') HR_AttendanceError 2 Source file 'E:\Employee Modules\HR_Attendance\HR_Attendance\Properties\Settings.Designer.cs' http://forums.asp.net/t/1754666.aspx?error+CS1504+Source+file+could+not+be+opened+Unspecified+error+ could not be opened ('The system cannot find the file specified. ') HR_AttendanceWarning 3 The custom tool 'SettingsSingleFileGenerator' failed while processing the file 'Properties\Settings.settings'.and my program.cs file is not found in Solution Explorer....... Can anybody please clear this........it's very urgenttttttt.........Advance Thnx could not ... #37197828 Apr 2009 16:40ZelalemJoined:16/01/2007Level:GoldPoints:289Points:2For missing AssemblyInfo.cs, i think you can do the following.1) Create a class called AssemlyInfo.cs2) Drag this file into properties3) Open an assembly from another project4) Copy this existing assembly and paste it into the newly created AssemblyInfo.cs class5) Make the corresponding changes for say: (AssemblyTitle, AssemblyCompany, could not be AssemblyProduct, AssemblyCopyright, and so on.) But, you need to Generate Guid to replace Guid value. To do that:a) Go to Tools menub) Click on Create Guid a dialog box will come for you. c) You can select radio button 4. (Registery Format (i.e xxxxxx-xxx-...xxxx)d) Click on New GUID buttone) Click on Copy button.Now go to your code and highlight the value of Guid in the new assembyInfo.cs6) right click and paste it.7) It should be ready to use. ANy question, welcome.
This thread is locked for new responses. Please post your comments and questions as a separate thread.If required, refer to the URL of this page in your new post. Submit New Thread Return to Return to Discussion Forum Top ContributorsTodayswati parbarbha... (13)Prasad kulkarn... (4)sravs123 (2)Last 7 DaysPawan Awasthi (43)Manigandan (41)swati parbarbha... (31)more...Email subscription.NET Jobs.NET Articles.NET Forums Articles Rss Feeds Forum Rss Feeds About Us Contact Us Copyright Privacy Policy Terms OfASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/Visual Studio and Visual Web Developer Express/error CS1504: Source file could not be opened ('Unspecified error ') error CS1504: Source file could not be opened ('Unspecified error ') [Answered]RSS 6 replies Last post Jan 01, 2012 12:40 PM by Jaaami ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Related Links Guidance Reply Jaaami None 0 Points 6 Posts error CS1504: Source file could not be opened ('Unspecified error ') Dec 31, 2011 11:52 AM|Jaaami|LINK Hello I am using Vista 32bit Visual Studio 2010 Professional. My computer was having some issues, I did a restore or did't properly close Visual studio, I am getting following erros now. These files names i can see in visual studio but i cannot open them, an exclamation sign is there with these files. I tried recovery program, Disassembler, googled this issue, no success so far. I am beginner developer, i wrote these pages in a week effort, it will be hard to start from scratch again, I will appreciate any help. ------ Rebuild All started: Project: 2lsveproj, Configuration: Debug Any CPU ------ error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\PlayerListBasketball.aspx.designer.cs' could not be opened ('Unspecified error ') error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\AdminPage.aspx.designer.cs' could not be opened ('Unspecified error ') error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\PlayersList.aspx.designer.cs' could not be opened ('Unspecified error ') error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\Athelete.aspx.cs' could not be opened ('Unspecified error ') error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\DeleteProfile.aspx.cs' could not be opened ('Unspecified error ') error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\PlayerListBB.aspx.designer.cs' could not be opened ('Unspecified error ') error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\AdminPage.aspx.cs' could not be opened ('Unspecified error ') error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2ls