I am facing an issue while building windows source in Visual studio 2017. Showing the error message mentioned in the title.
Anyone have any idea about this error message?
Finally I could have resolved the issue as below:
Open the file explorer. Navigate to project/solution directory
Search for *.resx. --> You will get list of resx files
Right click the resx file, open the properties and check the option 'Unblock'
Repeat #3 for each resx file.
Reload the project.
Related
I'm getting the following error when tried to create deployment package.
"Copying file bin\Antlr3.Runtime.pdb to obj\Release\AspnetCompileMerge\Source\bin\Antlr3.Runtime.pdb failed. Could not find file 'bin\Antlr3.Runtime.pdb'"
Can someone tell me what is happening and how to solve it
First of all delete whole file from bin folder
Remove reference of this "Antlr3"
Close Visual Studio
Open .croj project file in Notepad
find 'Antlr3.Runtime.pdb' and you found this in "ItemGroup". See ScreenShot
Remove below lines and save file.
Open project and re-rebuild solution.
It's working fine for me. Let me update here this is work for you???
For some reason "Clean" and "Rebuild" leaves the dll in the bin folder, but don't bring the missing .pdb.
The manual deletion of the entire bin's content and consequent "Rebuild" does the job
I am getting below error while publishing application.
Error 7 Copying file images\Thumbs.db to obj\Release\Package\PackageTmp\images\Thumbs.db failed. Could not find file 'images\Thumbs.db'.
I use this example and publishing same like below url
http://www.compilemode.com/2017/09/publishing-asp-net-mvc-application.html
When i will do publishing the below circle folders are creating in my visual studio with above error, Below is my project root structure
Visual Studio normally exhibits this behaviour when the file in question is referenced in the project but in not existing on the file system.
You can identify such file by looking at the Solution Explorer. They are shown with yellow triangle on the icon of that file.
Expand your Images folder. It should show Thumbs.db with yellow triangle. Right click it and select Delete or Exclude From Project option.
If you believe it should be published, please add it to the respective folder.
Retry publish.
this is an mvc web application. I have read many blogs and articles which are relevant to this but does not find any solution.
i have checked in .csproj and does not find any duplicate entries for file in .csproj file.
Close Visual Studio.
Go to Folder where you saved project
Open projectname.csproj in notepade.
Find your file name under tag
Remove if found duplicate entry and save project.
Open again project in Visual Studio and problem solved :)
While building a C#.net application in VS studio 2013 i am getting the following error
Unable to read manifest Properties\app.manifest.Could not find file
C:\Project\Properties\app.manifest
In project Settings i selected option "build Project without a manifest" but still getting the same error.
I fixed this by myself by deleting app.mainfest in visual studio which is showing up in properties folder.
Late in the party but,
Actually this file is mentioned in cs.proj file and your project is looking for this file.
What I did is , I have removed app.manifest reference in my cs.proj file as it is not needed to me , added by someone.
Open your cs.proj file in notepad and remove below mentioned line
This did the trick for me.
I am new in TFS, i have did GetLatestVersion but all newly added file in TFS was not getting in visual stdio but i can see those added file in TFS Server. Please suggest?
Click on the Show All Files in solution explorer to see the newly added file. It will be greyed out. Right click on the file and select Include to get it added to your project or soltion.
Common problem is that file will be present in source control but not included into the solution.
You can do it this way:
File > Source Control > Advanced > Open from Source Control
Find you Team Project
Open its .proj, .sln file, whichever is appropriate
Select 'Yes' / 'Overwrite' if it says you have the same files locally
This will ensure you get all the files from source control, rather than just those in your local project definition.