My first question here on stackoverflow:
I have installed Visual Studio 2012 and love the new IDE. The only problem I seem to be having thus far is that the target schema for validation is not working (in face, VS shows an error at launch when I open a project saying "could not complete the action". When I check on the validation target schema setting (in Tools->Opptions->Text Editor->HTML->Validation), it does indeed have an option selected (HTML5). However, when I try to add the "Target Schema for Validation" toolbar button, it again shows the same error when loading the project "could not complete the action".
Any thoughts? I'd appreciate any help anyone could provide.
Thanks!
Adam
Had the same problem on Visual Studio 2013, see the answer (in my case) here.
Related
As image I attached, Android studio does not show detail code about some library classes.
For example I cannot see the detail code about ```Iterable.filter````
Even though I click the "Download Sources" button and "Choose Sources", there is no luck.
It's totally not working.
Is there any workaround?
Since Kotlin is an open-source programming language, you can use Github and look through the source code in there.
https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/common/src/generated/_Collections.kt
when I run my open gl project, I face with this error :
error C2381: 'exit' : redefinition; __declspec(noreturn) differs
I used visual studio 2010 before, and don't have any problem. but since I use visual studio 2012, I face this error.
How can I solve it?
Related Question
or this... To fix the error, right click on the project name in the Solution Explorer tab and select Properties -> C/C++ -> Preprocessor -> Preprocessor definitions and append GLUT_BUILDING_LIB to the existing definitions, seperated by semicolons.
As per #Alex the solution worked before because some these switches are correctly defined.
I am trying to add a new item (class) to my project but I when try to do this, I initially get this warning:
Then I keep getting this error saying that the class already exists (although it doesnt) whenever I try to add a new class
What should I do to fix this ?
Although the class isn't shown in Visual Studio as part of the project, the file still exists in the folder. In solution explorer, click the icon at the top to "Show All Files", then the file should appear in solution explorer, you can right click and select include in project.
I know this is an old thread just adding some info.
If this issue appears try to download the latest update for Visual Studio 2012, should be update 4.
After having installed "Visual Studio 2012 Update1" some new buttons have been added, but unfortunately Solution Explorer has become incredibly slow. All mouse events on it (click, right click, double-click, on either the toolbar or any item) requires 5-10 seconds before having an answer.
After having un-installed update1 speed returned normal(=immediate).
Maybe one possible cause is one of the new buttons added, maybe "Show on Code Map".
Unfortunately I can find no way to customize (remove buttons from) Solution Explorer Toolbar; there is no "Show on Code Map" extension installed.
I have no ideas on how to investigate further.
As at least one guy got the same problem (here) maybe someone has the solution or ideas on how to further investigate.
Thank you
Stefano
Using:
Microsoft Visual Studio Ultimate 2012
Version 11.0.51106.01 Update 1
UPDATE:
Microsoft released Visual Studio 2012 Update 2;
now, with Update 2 installed, everything has returned 'normal speed',
so this question can be considered closed/obsolete. :-)
I have been using the customer preview of Visual Studio 2012 up until day before yesterday when the Release Candidate became available. After I installed the Release Candidate, I can't get to the Test Window (Test / Windows / Test Explorer).
I get the following lengthy error which I've copied manually here. (Since this is my first question, I couldn't post the picture, and the screen would not allow me to copy the text to the clipboard. Hopefully there are no typos.)
The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.
1) Value cannot be null.
Parameter name: testPlatform
Resulting in: An exception occurred while trying to create an instance of type 'Microsoft.VisualStudio.TestWindow.Model.ReqeustConfigurationFactory'.
Resulting in: Cannot activate part
'Microsoft.VisualStudio.TestWindow.Model.ReqeustConfigurationFactory'.
Element: Microsoft.VisualStudio.TestWindow.Model.ReqeustConfigurationFactory -->
Microsoft.VisualStudio.TestWindow.Model.ReqeustConfigurationFactory --> CachedAssemblyCatalog
Resulting in: Cannot get export
Microsoft.VisualStudio.TestWindow.Model.ReqeustConfigurationFactory
(ContractName="Microsoft.VisualStudio.TestWindow.Model.RequestConfigurationFactory")' from part
'Microsoft.VisualStudio.TestWindow.Model.ReqeustConfigurationFactory'.
Element:
Microsoft.VisualStudio.TestWindow.Model.ReqeustConfigurationFactory
(ContractName="Microsoft.VisualStudio.TestWindow.Model.RequestConfigurationFactory") --> CachedAssemblyCatalog
The error occurs regardless of whether I have opened a solution or not. A second attempt to open the window yields "Cannot create the tool window." After restarting Visual Studio, and attempting to get to the Test Window, I get the long message again.
At the time I upgraded Visual Studio to the Release Candidate, I had installed:
NUnit
SpecFlow
ReSharper (Beta)
Code Contracts -- the last thing I had installed before upgrading Visual Studio. I cannot guarantee that the test window was working after I installed this.
I have searched the web for key phrases out of the error message, but found no help.
I have also:
Repaired Visual Studio (which solved a problem I was having getting to the Extension Manager, but not the Test Window problem)
Uninstalled Visual Studio and reinstalled it
Uninstalled each of the Extensions/packages listed above (NUnit, SpecFlow, ReSharper, Code Contracts). Uninstalling didn't seem to help, so I have re-installed all of them,
one at a time. I've also confirmed that I can run tests in the ReSharper test window.
Deleted the currentsettings.vssettings file from C:\Users\\Documents\Visual Studio 11\Settings, hoping it contained the problem and would be recreated correctly. I got a message that "The IDE will use your most recent settings for this session". I don't know where to find those...
Reset settings from the Import and Export Settings option.
None of these actions has helped.
It looks to me like a config file somewhere is missing an element for testPlatform, but I have no idea where that would be (or in what format, or what Options page entry would set it.)
Any help would GREATLY be appreciated.
I didn't figure out exactly what was causing the error, but I did get it fixed. Here's what finally worked
I installed all VS 2012 one more time, plus the extensions, then looked for bits that might have been left behind by the uninstall. I found and deleted the following before reinstalling:
C:\Users\<my id>\Documents\Visual Studio
C:\Users\<my id>\AppData\Roaming\Microsoft\VisualStudio
C:\Users\<my id>\AppData\Local\Microsoft
Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
Upon re-installing Visual Studio 2012 RC, the original problem was resolved. Re-installing the extensions also worked successfully.